From 9061a24267f0b562c5304f0d897813fed88055c7 Mon Sep 17 00:00:00 2001 From: Cyrus Goh Date: Thu, 19 Dec 2024 19:20:16 -0800 Subject: [PATCH] add refresh confirm dialog (#6309) --- .../projects/status/ProjectResources.svelte | 11 ++++- .../status/RefreshConfirmDialog.svelte | 49 +++++++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 web-admin/src/features/projects/status/RefreshConfirmDialog.svelte diff --git a/web-admin/src/features/projects/status/ProjectResources.svelte b/web-admin/src/features/projects/status/ProjectResources.svelte index 01e468c41c5..e90f87fbfd8 100644 --- a/web-admin/src/features/projects/status/ProjectResources.svelte +++ b/web-admin/src/features/projects/status/ProjectResources.svelte @@ -10,11 +10,13 @@ import { useQueryClient } from "@tanstack/svelte-query"; import Button from "web-common/src/components/button/Button.svelte"; import ProjectResourcesTable from "./ProjectResourcesTable.svelte"; + import RefreshConfirmDialog from "./RefreshConfirmDialog.svelte"; const queryClient = useQueryClient(); const createTrigger = createRuntimeServiceCreateTrigger(); let isReconciling = false; + let isRefreshConfirmDialogOpen = false; $: ({ instanceId } = $runtime); @@ -75,7 +77,9 @@

Resources

+ + + +