mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 11:33:04 +00:00
Fixed lint errors and add lint fix script
This commit is contained in:
@@ -23,73 +23,73 @@ export class MenuServiceStub {
|
||||
} as any;
|
||||
|
||||
toggleMenu(): void { /***/
|
||||
};
|
||||
}
|
||||
|
||||
expandMenu(): void { /***/
|
||||
};
|
||||
}
|
||||
|
||||
collapseMenu(): void { /***/
|
||||
};
|
||||
}
|
||||
|
||||
showMenu(): void { /***/
|
||||
};
|
||||
}
|
||||
|
||||
hideMenu(): void { /***/
|
||||
};
|
||||
}
|
||||
|
||||
expandMenuPreview(): void { /***/
|
||||
};
|
||||
}
|
||||
|
||||
collapseMenuPreview(): void { /***/
|
||||
};
|
||||
}
|
||||
|
||||
toggleActiveSection(): void { /***/
|
||||
};
|
||||
}
|
||||
|
||||
activateSection(): void { /***/
|
||||
};
|
||||
}
|
||||
|
||||
deactivateSection(): void { /***/
|
||||
};
|
||||
}
|
||||
|
||||
addSection(): void { /***/
|
||||
};
|
||||
}
|
||||
|
||||
removeSection(): void { /***/
|
||||
};
|
||||
}
|
||||
|
||||
resetSections(): void { /***/
|
||||
};
|
||||
}
|
||||
|
||||
isMenuVisible(id: MenuID): Observable<boolean> {
|
||||
return observableOf(true)
|
||||
};
|
||||
return observableOf(true);
|
||||
}
|
||||
|
||||
isMenuCollapsed(id: MenuID): Observable<boolean> {
|
||||
return observableOf(false)
|
||||
};
|
||||
return observableOf(false);
|
||||
}
|
||||
|
||||
isMenuPreviewCollapsed(id: MenuID): Observable<boolean> {
|
||||
return observableOf(true)
|
||||
};
|
||||
return observableOf(true);
|
||||
}
|
||||
|
||||
hasSubSections(id: MenuID, sectionID: string): Observable<boolean> {
|
||||
return observableOf(true)
|
||||
};
|
||||
return observableOf(true);
|
||||
}
|
||||
|
||||
getMenuTopSections(id: MenuID): Observable<MenuSection[]> {
|
||||
return observableOf([this.visibleSection1, this.visibleSection2])
|
||||
};
|
||||
return observableOf([this.visibleSection1, this.visibleSection2]);
|
||||
}
|
||||
|
||||
getSubSectionsByParentID(id: MenuID): Observable<MenuSection[]> {
|
||||
return observableOf([this.subSection4])
|
||||
};
|
||||
return observableOf([this.subSection4]);
|
||||
}
|
||||
|
||||
isSectionActive(id: MenuID, sectionID: string): Observable<boolean> {
|
||||
return observableOf(true)
|
||||
};
|
||||
return observableOf(true);
|
||||
}
|
||||
|
||||
isSectionVisible(id: MenuID, sectionID: string): Observable<boolean> {
|
||||
return observableOf(true)
|
||||
};
|
||||
return observableOf(true);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user