From d9bcecd9fca8ed96e7ccc19115a44375e5e443d9 Mon Sep 17 00:00:00 2001 From: zaelgohary Date: Mon, 20 Oct 2025 09:54:10 +0300 Subject: [PATCH 1/2] Unify disk label in full & micro vm --- .../src/components/deployment_data_dialog.vue | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/playground/src/components/deployment_data_dialog.vue b/packages/playground/src/components/deployment_data_dialog.vue index 4ea6adacb5..7a3c92e3e3 100644 --- a/packages/playground/src/components/deployment_data_dialog.vue +++ b/packages/playground/src/components/deployment_data_dialog.vue @@ -71,7 +71,7 @@ 0) { - return "Disk( " + disk.name + " ) GB"; - } - return "Disk( " + disk.mountPoint + " ) GB"; +function getDiskLabel(disk: any) { + return `Disk ${disk.name}`; } function getMetadata(contract: DeploymentContract): { type: string; projectName: string } { @@ -355,7 +352,6 @@ import { createCustomToast, ToastType } from "@/utils/custom_toast"; import { GrafanaStatistics } from "@/utils/get_metrics_url"; import { useGrid } from "../stores"; -import type { Disk } from "../utils/deploy_vm"; import CopyReadonlyInput from "./copy_readonly_input.vue"; import { HighlightDark, HighlightLight } from "./highlight_themes"; From fa9c894d7e6665abb243c1ad9fec563f71ce4475 Mon Sep 17 00:00:00 2001 From: zaelgohary Date: Mon, 27 Oct 2025 14:32:41 +0300 Subject: [PATCH 2/2] Remove getDiskLabel fn --- .../playground/src/components/deployment_data_dialog.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/playground/src/components/deployment_data_dialog.vue b/packages/playground/src/components/deployment_data_dialog.vue index 7a3c92e3e3..7e6cf67d16 100644 --- a/packages/playground/src/components/deployment_data_dialog.vue +++ b/packages/playground/src/components/deployment_data_dialog.vue @@ -71,7 +71,7 @@