You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewError('Inside ActionBarComponent but no Page found in DI.');
85
+
thrownewError('No Page found in ActionBarComponent.\n'+'Only a Page can contain an ActionBar, so please ensure ActionBar is only used inside a Component that is routed via page-router-outlet or is contained in a Page.\n'+'Example for root action bars in AppComponent: <Frame><Page><ActionBar>....</ActionBar></Page></Frame>');
86
86
}
87
87
88
88
if(isBlank(this.page.actionBarHidden)){
@@ -99,9 +99,9 @@ export class ActionBarComponent {
99
99
})
100
100
exportclassActionBarScope{
101
101
// tslint:disable-line:component-class-suffix
102
-
constructor(privatepage: Page){
102
+
constructor(@Optional()privatepage: Page){
103
103
if(!this.page){
104
-
thrownewError('Inside ActionBarScope but no Page found in DI.');
104
+
thrownewError('Inside ActionBarExtension but no ActionBar found to extend.');
0 commit comments