diff --git a/dashboard/src/views/BackupTargetsView.vue b/dashboard/src/views/BackupTargetsView.vue index d17127403..269f20500 100644 --- a/dashboard/src/views/BackupTargetsView.vue +++ b/dashboard/src/views/BackupTargetsView.vue @@ -134,7 +134,8 @@ async function onPrimaryTargetChanged(value) { const [error] = await backupTargetsModel.setPrimary(value); if (error) return console.error(error); - await refresh(); + // update the list to be in sync without flickering + targets.value.forEach(t => t.primary = t.id === value); primaryTargetId.value = value; primaryTargetChangeBusy.value = false;