From a3bd1b217782ee69dc56396925177754eca301c1 Mon Sep 17 00:00:00 2001 From: iamBadgers Date: Sat, 25 Apr 2026 15:42:43 -0700 Subject: [PATCH] Enable inactive / loading / active --- src/TableEditor.vue | 160 +++++++++++++++++++++++++++++++++++++------ src/TableManager.vue | 8 ++- 2 files changed, 145 insertions(+), 23 deletions(-) diff --git a/src/TableEditor.vue b/src/TableEditor.vue index a6cffeb..847b72d 100644 --- a/src/TableEditor.vue +++ b/src/TableEditor.vue @@ -1,25 +1,46 @@ @@ -69,36 +91,58 @@ .button-box { margin: 5px; } + +.active-foundry-stats { +} + +.inactive-foundry-stats { + display: none; +} diff --git a/src/TableManager.vue b/src/TableManager.vue index 09bf379..43bb2e5 100644 --- a/src/TableManager.vue +++ b/src/TableManager.vue @@ -11,6 +11,7 @@ import SplitButton from 'primevue/splitbutton' import ConfirmDialog from 'primevue/confirmdialog' import { useConfirm } from 'primevue/useconfirm' +const hostname = ref() const router = useRouter() const allTables = ref() const activeTables = ref() @@ -19,6 +20,7 @@ const confirm = useConfirm() onMounted(() => { activeTables.value = [] loadTables() + hostname.value = location.host }) async function loadTables(): Promise { @@ -120,7 +122,7 @@ function buildButtonModel(table: any) { @@ -144,10 +146,10 @@ function buildButtonModel(table: any) {