From 9994e472e3fe2435b5fcc4d10fc615c4986bd20d Mon Sep 17 00:00:00 2001 From: "andy.lee" Date: Sat, 28 Dec 2024 11:19:51 +0800 Subject: [PATCH] fix: port AppModal component to harvester source code Signed-off-by: andy.lee --- pkg/harvester/components/AppModal.vue | 170 ++++++++++++++++++ .../dialog/HarvesterSupportBundle.vue | 2 +- pkg/harvester/dialog/RestartVMDialog.vue | 2 +- 3 files changed, 172 insertions(+), 2 deletions(-) create mode 100644 pkg/harvester/components/AppModal.vue diff --git a/pkg/harvester/components/AppModal.vue b/pkg/harvester/components/AppModal.vue new file mode 100644 index 00000000000..b5f11435f70 --- /dev/null +++ b/pkg/harvester/components/AppModal.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/pkg/harvester/dialog/HarvesterSupportBundle.vue b/pkg/harvester/dialog/HarvesterSupportBundle.vue index 105f25a6f70..1ab84c53768 100644 --- a/pkg/harvester/dialog/HarvesterSupportBundle.vue +++ b/pkg/harvester/dialog/HarvesterSupportBundle.vue @@ -6,7 +6,7 @@ import { LabeledInput } from '@components/Form/LabeledInput'; import AsyncButton from '@shell/components/AsyncButton'; import GraphCircle from '@shell/components/graph/Circle'; import { Banner } from '@components/Banner'; -import AppModal from '@shell/components/AppModal'; +import AppModal from '@pkg/harvester/components/AppModal'; export default { name: 'SupportBundle', diff --git a/pkg/harvester/dialog/RestartVMDialog.vue b/pkg/harvester/dialog/RestartVMDialog.vue index 1f4ee8d0b35..e1e9f5076dd 100644 --- a/pkg/harvester/dialog/RestartVMDialog.vue +++ b/pkg/harvester/dialog/RestartVMDialog.vue @@ -1,7 +1,7 @@