[CST-3088] Fixed lint errors

This commit is contained in:
Giuseppe Digilio
2020-07-02 14:15:16 +02:00
parent 2ad62dd3e9
commit 3f0ab2cf13
3 changed files with 3 additions and 4 deletions

View File

@@ -607,7 +607,6 @@ describe('VocabularyService', () => {
});
});
describe('searchByTop', () => {
it('should proxy the call to vocabularyEntryDetailDataService.searchBy', () => {
const options: VocabularyFindOptions = new VocabularyFindOptions(

View File

@@ -65,7 +65,7 @@ describe('DsDynamicOneboxComponent test suite', () => {
let vocabularyServiceStub: any;
let html;
let modal;
let vocabulary = {
const vocabulary = {
id: 'vocabulary',
name: 'vocabulary',
scrollable: true,
@@ -82,7 +82,7 @@ describe('DsDynamicOneboxComponent test suite', () => {
}
}
let hierarchicalVocabulary = {
const hierarchicalVocabulary = {
id: 'hierarchicalVocabulary',
name: 'hierarchicalVocabulary',
scrollable: true,

View File

@@ -230,7 +230,7 @@ export class VocabularyTreeviewService {
const entryDetail: VocabularyEntryDetail = Object.assign(new VocabularyEntryDetail(), entry, {
id: entryId
});
const hasChildren = entry.hasOtherInformation() && (entry.otherInformation as any)!.hasChildren == 'true';
const hasChildren = entry.hasOtherInformation() && (entry.otherInformation as any)!.hasChildren === 'true';
const pageInfo: PageInfo = this.pageInfo;
const isInInitValueHierarchy = this.initValueHierarchy.includes(entryId);
const result = new TreeviewNode(