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', () => {
|
||||
it('should proxy the call to vocabularyEntryDetailDataService.searchBy', () => {
|
||||
const options: VocabularyFindOptions = new VocabularyFindOptions(
|
||||
|
@@ -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,
|
||||
|
@@ -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(
|
||||
|
Reference in New Issue
Block a user