expandable-navbar-section.component.ts (dspace-angular-dspace-7.0) | : | expandable-navbar-section.component.ts (dspace-angular-dspace-7.1) | ||
---|---|---|---|---|
skipping to change at line 14 | skipping to change at line 14 | |||
import { MenuID } from '../../shared/menu/initial-menus-state'; | import { MenuID } from '../../shared/menu/initial-menus-state'; | |||
import { slide } from '../../shared/animations/slide'; | import { slide } from '../../shared/animations/slide'; | |||
import { first } from 'rxjs/operators'; | import { first } from 'rxjs/operators'; | |||
import { HostWindowService } from '../../shared/host-window.service'; | import { HostWindowService } from '../../shared/host-window.service'; | |||
import { rendersSectionForMenu } from '../../shared/menu/menu-section.decorator' ; | import { rendersSectionForMenu } from '../../shared/menu/menu-section.decorator' ; | |||
/** | /** | |||
* Represents an expandable section in the navbar | * Represents an expandable section in the navbar | |||
*/ | */ | |||
@Component({ | @Component({ | |||
selector: 'ds-expandable-navbar-section', | /* tslint:disable:component-selector */ | |||
selector: 'li[ds-expandable-navbar-section]', | ||||
templateUrl: './expandable-navbar-section.component.html', | templateUrl: './expandable-navbar-section.component.html', | |||
styleUrls: ['./expandable-navbar-section.component.scss'], | styleUrls: ['./expandable-navbar-section.component.scss'], | |||
animations: [slide] | animations: [slide] | |||
}) | }) | |||
@rendersSectionForMenu(MenuID.PUBLIC, true) | @rendersSectionForMenu(MenuID.PUBLIC, true) | |||
export class ExpandableNavbarSectionComponent extends NavbarSectionComponent imp lements OnInit { | export class ExpandableNavbarSectionComponent extends NavbarSectionComponent imp lements OnInit { | |||
/** | /** | |||
* This section resides in the Public Navbar | * This section resides in the Public Navbar | |||
*/ | */ | |||
menuID = MenuID.PUBLIC; | menuID = MenuID.PUBLIC; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added |