-
Notifications
You must be signed in to change notification settings - Fork 903
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
fix(tasks): Not bothering with null user when we have an authed one #7305
Conversation
@@ -147,8 +147,9 @@ <h4> | |||
</span> | |||
</td> | |||
<td> | |||
{{ task.execution.authentication.user === task.getValueFor('user') ? task.execution.authentication.user | |||
: (task.getValueFor('user') + ' (' + (task.execution.authentication.user || 'unknown user') + ')') }} | |||
{{ task.getValueFor('user') ? ( (task.execution.authentication.user === task.getValueFor('user')) ? |
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 know this is angular code and we're not investing in it, but I find this particularly difficult to read
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.
Agree. It was prettier before prettier
Thanks @alanmquach! |
40c3197 refactor(core/presentation): use render props everywhere (spinnaker#7316) cef1c09 fix(core/presentation): prevent the hover jitters on pipeline graph labels (spinnaker#7311) 74ea2e7 fix(ui): require application, pipeline, and a status when adding a pipeline trigger (spinnaker#7308) f3de167 fix(ui): require type on the stage (spinnaker#7304) 834f4ea feat(helm): allow manual execution overrides for helm charts (spinnaker#7312) ea29d8d fix(tasks): Not bothering with null user when we have an authed one (spinnaker#7305)
40c3197 refactor(core/presentation): use render props everywhere (#7316) cef1c09 fix(core/presentation): prevent the hover jitters on pipeline graph labels (#7311) 74ea2e7 fix(ui): require application, pipeline, and a status when adding a pipeline trigger (#7308) f3de167 fix(ui): require type on the stage (#7304) 834f4ea feat(helm): allow manual execution overrides for helm charts (#7312) ea29d8d fix(tasks): Not bothering with null user when we have an authed one (#7305)
null ( authenticated user )
seems silly when we can just displayauthenticated user
Especially since the authenticated user is the stronger identity.