Skip to content

Commit 63d65cb

Browse files
fix lint
1 parent 7a55109 commit 63d65cb

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

src/app/shared/cookies/browser-klaro.service.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,18 @@ export class BrowserKlaroService extends KlaroService {
111111
this.klaroConfig.translations.zz.consentNotice.description = 'cookies.consent.content-notice.description.no-privacy';
112112
}
113113

114-
if(environment.metricsConsents) {
114+
if (environment.metricsConsents) {
115115
environment.metricsConsents.forEach((metric) => {
116-
if(metric.enabled) {
116+
if (metric.enabled) {
117117
this.klaroConfig.services.push(
118118
{
119119
name: metric.key,
120120
purposes: ['thirdPartiesJs'],
121121
required: false,
122122
}
123-
)
123+
);
124124
}
125-
})
125+
});
126126
}
127127

128128
const hideGoogleAnalytics$ = this.configService.findByPropertyName(this.GOOGLE_ANALYTICS_KEY).pipe(

src/config/app-config.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { FollowAuthorityMetadata } from './search-follow-metadata.interface';
3131
import { AdvancedAttachmentRenderingConfig } from './advanced-attachment-rendering.config';
3232
import { AttachmentRenderingConfig } from './attachment-rendering.config';
3333
import { SearchResultConfig } from './search-result-config.interface';
34-
import { CookieConsents, ThirdPartyMetric } from "../app/shared/cookies/browser-klaro.service";
34+
import { ThirdPartyMetric } from '../app/shared/cookies/browser-klaro.service';
3535

3636
interface AppConfig extends Config {
3737
ui: UIServerConfig;

src/config/default-app-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {
3434
} from './advanced-attachment-rendering.config';
3535
import { AttachmentRenderingConfig } from './attachment-rendering.config';
3636
import { SearchResultConfig } from './search-result-config.interface';
37-
import { CookieConsents, ThirdPartyMetric } from "../app/shared/cookies/browser-klaro.service";
37+
import { ThirdPartyMetric } from '../app/shared/cookies/browser-klaro.service';
3838

3939
export class DefaultAppConfig implements AppConfig {
4040
production = false;

src/environments/environment.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { BuildConfig } from 'src/config/build-config.interface';
33
import { RestRequestMethod } from '../app/core/data/rest-request-method';
44
import { NotificationAnimationsType } from '../app/shared/notifications/models/notification-animations-type';
55
import { AdvancedAttachmentElementType } from '../config/advanced-attachment-rendering.config';
6-
import { ThirdPartyMetric } from "../app/shared/cookies/browser-klaro.service";
76

87
export const environment: BuildConfig = {
98
production: false,

0 commit comments

Comments
 (0)