mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
[CST-6565] fix lint
This commit is contained in:
@@ -15,8 +15,8 @@ import {ANONYMOUS_STORAGE_NAME_KLARO, klaroConfiguration} from './klaro-configur
|
||||
import { Operation } from 'fast-json-patch';
|
||||
import { getFirstCompletedRemoteData } from '../../core/shared/operators';
|
||||
import { ConfigurationDataService } from '../../core/data/configuration-data.service';
|
||||
import {RemoteData} from "../../core/data/remote-data";
|
||||
import {ConfigurationProperty} from "../../core/shared/configuration-property.model";
|
||||
import { RemoteData } from '../../core/data/remote-data';
|
||||
import { ConfigurationProperty } from '../../core/shared/configuration-property.model';
|
||||
|
||||
/**
|
||||
* Metadata field to store a user's cookie consent preferences in
|
||||
@@ -125,7 +125,7 @@ export class BrowserKlaroService extends KlaroService {
|
||||
configurationName: string
|
||||
): Pick<typeof klaroConfiguration, 'name'>[] {
|
||||
if (this.isEmptyOrInvalid(remoteData)) {
|
||||
return [{name: configurationName}]
|
||||
return [{name: configurationName}];
|
||||
} else {
|
||||
return [];
|
||||
}
|
||||
|
Reference in New Issue
Block a user