File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
osf-banners/maintenance-banner Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ export class MaintenanceBannerComponent implements OnInit {
7070 */
7171 ngOnInit ( ) : void {
7272 this . dismissed . set ( this . cookies . check ( this . cookieName ) ) ;
73- this . dismissed . set ( false ) ;
7473 if ( ! this . dismissed ( ) ) {
7574 this . fetchMaintenanceStatus ( ) ;
7675 }
@@ -85,7 +84,6 @@ export class MaintenanceBannerComponent implements OnInit {
8584 private fetchMaintenanceStatus ( ) : void {
8685 this . maintenanceService . fetchMaintenanceStatus ( ) . subscribe ( ( maintenance : MaintenanceModel | null ) => {
8786 this . maintenance . set ( maintenance ) ;
88- this . maintenance . set ( { message : 'this is the message' } as MaintenanceModel ) ;
8987 } ) ;
9088 }
9189
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { HeaderComponent } from '@core/components/header/header.component';
1313import { TopnavComponent } from '@core/components/topnav/topnav.component' ;
1414import { IS_WEB , IS_XSMALL } from '@osf/shared/helpers' ;
1515
16- import { OSFBannerComponent } from '../osf-banners/osf. banner.component' ;
16+ import { OSFBannerComponent } from '../osf-banners/osf- banner.component' ;
1717import { SidenavComponent } from '../sidenav/sidenav.component' ;
1818
1919import { RootComponent } from './root.component' ;
You can’t perform that action at this time.
0 commit comments