-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update to alpha 29 #24
Conversation
@@ -26,6 +24,6 @@ export class LoggedInRouterOutlet extends RouterOutlet { | |||
if (!this.publicRoutes[url] && !localStorage.getItem('jwt')) { | |||
instruction.component = Login; | |||
} | |||
super.activate(instruction); | |||
return super.activate(instruction); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you must return
here otherwise you will have an error TypeError: Cannot read property 'then' of undefined
in alpha.30 we can switch to |
@@ -13,18 +13,17 @@ let template = require('./home.html'); | |||
selector: 'home' | |||
}) | |||
@View({ | |||
template:`<style>${styles}</style>\n${template}`, | |||
directives: [coreDirectives] | |||
styles: [ styles ], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have styles
metadata now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yey!
Thanks :). Merging! |
updated to 29 and everything works