diff --git a/src/client/pages/instance/index.vue b/src/client/pages/instance/index.vue index 5b5b8657c..9cdf97833 100644 --- a/src/client/pages/instance/index.vue +++ b/src/client/pages/instance/index.vue @@ -27,11 +27,22 @@
-
{{ table[0] }}{{ table[1].count | number }}{{ table[1].size | bytes }}
+ + + + + + + + + + + +
TableRecordsSize
{{ table[0] }}{{ table[1].count | number }}{{ table[1].size | bytes }}
- + @@ -497,7 +508,7 @@ export default Vue.extend({ }); this.$root.api('admin/get-table-stats', {}).then(res => { - this.dbInfo = res; + this.dbInfo = Object.entries(res).sort((a, b) => b[1].size - a[1].size); }); this.$nextTick(() => { @@ -630,11 +641,13 @@ export default Vue.extend({ > .db { flex: 1; flex-grow: 0; + height: 100%; } > .fed { flex: 1; flex-grow: 0; + height: 100%; } > *:not(:last-child) { diff --git a/src/client/widgets/federation.vue b/src/client/widgets/federation.vue index 7bafb67c8..7c3fc6238 100644 --- a/src/client/widgets/federation.vue +++ b/src/client/widgets/federation.vue @@ -1,5 +1,5 @@