diff --git a/web/src/main/bvmui/package.json b/web/src/main/bvmui/package.json
index 89c8338..0323c0e 100644
--- a/web/src/main/bvmui/package.json
+++ b/web/src/main/bvmui/package.json
@@ -6,6 +6,7 @@
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint --no-fix",
+ "lint:fix": "vue-cli-service lint --fix",
"test": "vue-cli-service test:unit -i"
},
"dependencies": {
diff --git a/web/src/main/bvmui/src/components/Ledger.vue b/web/src/main/bvmui/src/components/Ledger.vue
index a197877..8410e97 100644
--- a/web/src/main/bvmui/src/components/Ledger.vue
+++ b/web/src/main/bvmui/src/components/Ledger.vue
@@ -21,7 +21,7 @@ export default {
},
computed: {
rootClasses() {
- return ["bvm-tile", this.ledger.state == "CLOSED" ? "closed" : ""];
+ return ["bvm-tile", this.ledger.state === "CLOSED" ? "closed" : ""];
},
computedAge() {
const countHours = Math.floor(this.ledger.age / 60);
diff --git a/web/src/main/bvmui/src/components/MetadataContainer.vue b/web/src/main/bvmui/src/components/MetadataContainer.vue
index 1e3d513..8174fc5 100644
--- a/web/src/main/bvmui/src/components/MetadataContainer.vue
+++ b/web/src/main/bvmui/src/components/MetadataContainer.vue
@@ -29,14 +29,13 @@ export default {
const arr = []
arr.push({ title: 'Description', value: this.currentLedger.description })
arr.push({ title: 'Cluster', value: this.currentLedger.clusterName })
- arr.push({ title: 'Age', value: this.$library.formatLedgerAge(this.currentLedger.age) })
+ arr.push({ title: 'Age', value: this.$library.formatTimeFromMinutes(this.currentLedger.age) })
arr.push({ title: 'Created at', value: this.$library.formatDate(this.currentLedger.ctime) })
arr.push({ title: 'State', value: this.currentLedger.state })
arr.push({ title: 'Size', value: this.$library.formatBytes(this.currentLedger.length) })
arr.push({ title: 'LastEntryId', value: this.currentLedger.lastEntryId })
arr.push({ title: 'Password', value: this.currentLedger.password })
arr.push({ title: 'DigestType', value: this.currentLedger.digestType })
- arr.push({ title: 'Closed', value: this.currentLedger.closed })
arr.push({ title: 'MetadataFormatVersion', value: this.currentLedger.metadataFormatVersion })
arr.push({ title: 'Ensemble size (bookies)', value: this.currentLedger.ensembleSize })
arr.push({ title: 'Write quorum size (copies)', value: this.currentLedger.ensembleSize })
diff --git a/web/src/main/bvmui/src/components/Navbar.vue b/web/src/main/bvmui/src/components/Navbar.vue
index 56ac368..ddc5871 100644
--- a/web/src/main/bvmui/src/components/Navbar.vue
+++ b/web/src/main/bvmui/src/components/Navbar.vue
@@ -1,24 +1,62 @@
-
-
-
+
+
+
Bookkeeper
Visual Manager
- {{ pageTitle }}
-
+
+
+
+ Last refresh: {{ lastCacheRefreshStr }}
+
+ mdi-cached
+
+
+