diff --git a/src/views/local-volumes/LocalVolumeList.vue b/src/views/local-volumes/LocalVolumeList.vue index c10a63a..8c555cb 100644 --- a/src/views/local-volumes/LocalVolumeList.vue +++ b/src/views/local-volumes/LocalVolumeList.vue @@ -244,6 +244,7 @@ const migrate = async (row: ApiVolume) => { await dialog.show({ name: row.metadata?.name, volumeGroup: row.spec?.volumegroup, + disabledNode: row.status?.publishedNode, }); handleRefresh(); diff --git a/src/views/local-volumes/dialogs/MigrateDialog.vue b/src/views/local-volumes/dialogs/MigrateDialog.vue index 1f719bc..b002bcc 100644 --- a/src/views/local-volumes/dialogs/MigrateDialog.vue +++ b/src/views/local-volumes/dialogs/MigrateDialog.vue @@ -51,6 +51,7 @@ @@ -130,6 +131,10 @@ const props = defineProps({ type: String, default: '', }, + disabledNode: { + type: String, + default: '', + }, }); const emits = defineEmits(['resolve', 'reject']);