mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
[CST-3088] Fixed lint errors
This commit is contained in:
@@ -607,7 +607,6 @@ describe('VocabularyService', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
describe('searchByTop', () => {
|
describe('searchByTop', () => {
|
||||||
it('should proxy the call to vocabularyEntryDetailDataService.searchBy', () => {
|
it('should proxy the call to vocabularyEntryDetailDataService.searchBy', () => {
|
||||||
const options: VocabularyFindOptions = new VocabularyFindOptions(
|
const options: VocabularyFindOptions = new VocabularyFindOptions(
|
||||||
|
@@ -65,7 +65,7 @@ describe('DsDynamicOneboxComponent test suite', () => {
|
|||||||
let vocabularyServiceStub: any;
|
let vocabularyServiceStub: any;
|
||||||
let html;
|
let html;
|
||||||
let modal;
|
let modal;
|
||||||
let vocabulary = {
|
const vocabulary = {
|
||||||
id: 'vocabulary',
|
id: 'vocabulary',
|
||||||
name: 'vocabulary',
|
name: 'vocabulary',
|
||||||
scrollable: true,
|
scrollable: true,
|
||||||
@@ -82,7 +82,7 @@ describe('DsDynamicOneboxComponent test suite', () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let hierarchicalVocabulary = {
|
const hierarchicalVocabulary = {
|
||||||
id: 'hierarchicalVocabulary',
|
id: 'hierarchicalVocabulary',
|
||||||
name: 'hierarchicalVocabulary',
|
name: 'hierarchicalVocabulary',
|
||||||
scrollable: true,
|
scrollable: true,
|
||||||
|
@@ -230,7 +230,7 @@ export class VocabularyTreeviewService {
|
|||||||
const entryDetail: VocabularyEntryDetail = Object.assign(new VocabularyEntryDetail(), entry, {
|
const entryDetail: VocabularyEntryDetail = Object.assign(new VocabularyEntryDetail(), entry, {
|
||||||
id: entryId
|
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 pageInfo: PageInfo = this.pageInfo;
|
||||||
const isInInitValueHierarchy = this.initValueHierarchy.includes(entryId);
|
const isInInitValueHierarchy = this.initValueHierarchy.includes(entryId);
|
||||||
const result = new TreeviewNode(
|
const result = new TreeviewNode(
|
||||||
|
Reference in New Issue
Block a user