From df4db39a137fb9bbe65454d5feb7c780a367bbec Mon Sep 17 00:00:00 2001 From: Jiajie Chen Date: Thu, 20 Jun 2024 09:13:10 +0800 Subject: [PATCH] feat: add margin and only shou monitor if the worker is live --- frontend/src/pages/workers/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/workers/index.vue b/frontend/src/pages/workers/index.vue index 58a1b42..1c68ea6 100644 --- a/frontend/src/pages/workers/index.vue +++ b/frontend/src/pages/workers/index.vue @@ -40,8 +40,9 @@ icon="true" rounded size="x-small" + v-if="(item as Worker).is_live" :to="{ path: '/monitor/' + (item as Worker).hostname }" - style="margin-right: 5px;margin-bottom: 5px;"> + style="margin-left: 5px;margin-bottom: 5px;"> mdi:mdi-receipt-text Monitor