diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-08-31 14:47:02 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-08-31 14:47:02 +0300 |
commit | 9123716b55d809bf8d1cc4727b3b10c127b405a0 (patch) | |
tree | 1aaab637d3c1cd9fd47f5a093c53e62bdb479b62 /src/components/_sila | |
parent | a7830e9bfb3e0d3988765301f84945328dc51434 (diff) | |
download | webui-vue-9123716b55d809bf8d1cc4727b3b10c127b405a0.tar.xz |
SILABMC-259: add live time from bmc
Diffstat (limited to 'src/components/_sila')
-rw-r--r-- | src/components/_sila/AppHeader/AppHeader.vue | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/_sila/AppHeader/AppHeader.vue b/src/components/_sila/AppHeader/AppHeader.vue index 8d65b894..315136e1 100644 --- a/src/components/_sila/AppHeader/AppHeader.vue +++ b/src/components/_sila/AppHeader/AppHeader.vue @@ -50,9 +50,9 @@ </b-navbar-nav> <!-- Right aligned nav items --> <b-navbar-nav class="ml-auto helper-menu"> - <!--<span v-if="bmcTime" class="bmcTime"> - {{ bmcTime }} - </span>--> + <span v-if="liveClock" class="liveClock"> + {{ liveClock }} + </span> <div class="display--flex align-items--center"> <b-nav-item to="/logs/event-logs" @@ -259,8 +259,8 @@ export default { isNavTagPresent() { return this.assetTag || this.modelType || this.serialNumber; }, - bmcTime() { - return this.$store.getters['global/bmcTime']?.toLocaleTimeString(); + liveClock() { + return this.$store.getters['global/liveClock']; }, assetTag() { return this.$store.getters['global/assetTag']; @@ -602,7 +602,7 @@ export default { display: none; } } -.bmcTime { +.liveClock { padding: 0 8px; color: lightgoldenrodyellow; } |