From d6da4898b46af6f09591f2400b536b4388ed1c51 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Thu, 29 May 2025 15:43:14 +0800 Subject: [PATCH] Fix error banner can't be dismissed (#312) * fix error banner can't be dismissed Signed-off-by: Andy Lee * update all CruResource Signed-off-by: Andy Lee --------- Signed-off-by: Andy Lee --- .../detail/harvesterhci.io.virtualmachinebackup/index.vue | 1 + pkg/harvester/detail/harvesterhci.io.vmsnapshot/index.vue | 1 + pkg/harvester/edit/harvesterhci.io.addon/index.vue | 1 + pkg/harvester/edit/harvesterhci.io.cloudtemplate.vue | 1 + pkg/harvester/edit/harvesterhci.io.keypair.vue | 1 + pkg/harvester/edit/harvesterhci.io.logging.output.vue | 2 +- .../harvesterhci.io.monitoring.alertmanagerconfig/index.vue | 2 +- .../edit/harvesterhci.io.networkattachmentdefinition.vue | 1 + pkg/harvester/edit/harvesterhci.io.schedulevmbackup.vue | 2 +- pkg/harvester/edit/harvesterhci.io.secret.vue | 2 +- pkg/harvester/edit/harvesterhci.io.setting.vue | 2 +- pkg/harvester/edit/harvesterhci.io.storage/index.vue | 2 +- .../edit/harvesterhci.io.virtualmachinetemplateversion.vue | 1 + pkg/harvester/edit/harvesterhci.io.volume.vue | 1 + pkg/harvester/edit/harvesterhci.io.volumesnapshot.vue | 1 + pkg/harvester/edit/kubevirt.io.virtualmachine/index.vue | 1 + .../edit/loadbalancer.harvesterhci.io.ippool/index.vue | 1 + .../edit/loadbalancer.harvesterhci.io.loadbalancer/index.vue | 1 + pkg/harvester/edit/management.cattle.io.project.vue | 2 +- .../edit/network.harvesterhci.io.clusternetwork/index.vue | 1 + pkg/harvester/edit/network.harvesterhci.io.vlanconfig/index.vue | 1 + pkg/harvester/pages/c/_cluster/airgapupgrade/index.vue | 2 +- 22 files changed, 22 insertions(+), 8 deletions(-) diff --git a/pkg/harvester/detail/harvesterhci.io.virtualmachinebackup/index.vue b/pkg/harvester/detail/harvesterhci.io.virtualmachinebackup/index.vue index 578cacbb..8eae405c 100644 --- a/pkg/harvester/detail/harvesterhci.io.virtualmachinebackup/index.vue +++ b/pkg/harvester/detail/harvesterhci.io.virtualmachinebackup/index.vue @@ -125,6 +125,7 @@ export default { :resource="value" :mode="mode" :apply-hooks="applyHooks" + @error="e=>errors=e" >
diff --git a/pkg/harvester/edit/harvesterhci.io.monitoring.alertmanagerconfig/index.vue b/pkg/harvester/edit/harvesterhci.io.monitoring.alertmanagerconfig/index.vue index 0bf5c38f..fbc30dad 100644 --- a/pkg/harvester/edit/harvesterhci.io.monitoring.alertmanagerconfig/index.vue +++ b/pkg/harvester/edit/harvesterhci.io.monitoring.alertmanagerconfig/index.vue @@ -189,7 +189,7 @@ export default { :resource="value" :subtypes="[]" :cancel-event="true" - @error="e=>errors = e" + @error="e=>errors=e" @finish="save" @cancel="done" > diff --git a/pkg/harvester/edit/harvesterhci.io.networkattachmentdefinition.vue b/pkg/harvester/edit/harvesterhci.io.networkattachmentdefinition.vue index b5c3a393..b362ec63 100644 --- a/pkg/harvester/edit/harvesterhci.io.networkattachmentdefinition.vue +++ b/pkg/harvester/edit/harvesterhci.io.networkattachmentdefinition.vue @@ -190,6 +190,7 @@ export default { :errors="errors" :apply-hooks="applyHooks" @finish="saveNetwork" + @error="e=>errors=e" >