forked from openbmc/webui-vue
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated CSR Modal & Service login Certificate Modal (#59)
* Updated CSR Modal - Removed the certificate type option from the modal - Only admin can upload Service login Certificate Signed-off-by: Kenneth Fullbright <[email protected]>
- Loading branch information
Showing
4 changed files
with
54 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const CurrentUserMixin = { | ||
computed: { | ||
currentUser() { | ||
const value = this.$store.getters['userManagement/allUsers'].filter( | ||
(user) => user.Id === this.$store.getters['global/username'] | ||
)[0]; | ||
return value; | ||
}, | ||
}, | ||
}; | ||
|
||
export default CurrentUserMixin; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters