From f8aeaa2ea6224fa86ed19c0f1e40f78c1ace60a6 Mon Sep 17 00:00:00 2001 From: Mahmoud Emad Date: Tue, 3 Sep 2024 10:44:29 +0300 Subject: [PATCH 01/10] chore: Build the grafana URL on mount. --- .../playground/src/components/deployment_data_dialog.vue | 6 +++--- packages/playground/src/weblets/tf_deployment_list.vue | 7 +------ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/packages/playground/src/components/deployment_data_dialog.vue b/packages/playground/src/components/deployment_data_dialog.vue index 453c14e320..55f25e2e0b 100644 --- a/packages/playground/src/components/deployment_data_dialog.vue +++ b/packages/playground/src/components/deployment_data_dialog.vue @@ -9,7 +9,6 @@ JSON - import type { GridClient } from "@threefold/grid_client"; +import { onMounted } from "vue"; import { ContractType } from "@/utils/contracts"; import { createCustomToast, ToastType } from "@/utils/custom_toast"; @@ -339,4 +340,3 @@ export default { }, }; -@/utils/get_metrics_url diff --git a/packages/playground/src/weblets/tf_deployment_list.vue b/packages/playground/src/weblets/tf_deployment_list.vue index 0332d31b71..42a59c47ae 100644 --- a/packages/playground/src/weblets/tf_deployment_list.vue +++ b/packages/playground/src/weblets/tf_deployment_list.vue @@ -106,12 +106,7 @@ icon="mdi-eye-outline" @click="openDialog(tabs[activeTab].value, item)" /> - +