-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
UI: PKI stub configure page #18349
UI: PKI stub configure page #18349
Conversation
hashishaw
commented
Dec 13, 2022
•
edited
Loading
edited
- Check for PKI config on overview page and show empty state if no config
- Stub configuration landing page (each form is a separate ticket)
@@ -3,6 +3,7 @@ import buildRoutes from 'ember-engines/routes'; | |||
export default buildRoutes(function () { | |||
this.route('overview'); | |||
this.route('configuration', function () { | |||
this.route('index', { path: '/' }); |
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.
Added this route so that the "read configuration" contents don't render on child paths
if (model) { | ||
return model.get('firstObject'); | ||
} | ||
}), |
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.
I'm not sure if you need this, but since this is in a hash
you may need a catch
statement if any promises fail
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.
If it fails the page will load the error state, which is what we want
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.
🎉