refactor: customize empty table rows message

Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
Andy Lee
2026-07-23 16:45:43 +08:00
parent 8779154ef1
commit 7592f5b64d
3 changed files with 24 additions and 2 deletions
@@ -184,6 +184,11 @@ const onEditMappings = () => {
const onRemoveVm = (id) => {
selectedVMs.value = selectedVMs.value.filter((vm) => vm.id !== id);
stepData.vms.selectedVMIds.delete(id);
vmsReady.value = selectedVMs.value.length > 0;
if (!vmsReady.value) {
reviewReady.value = false;
}
};
// Clear downstream data when provider changes