Update client deletion

Optimized client deletion
This commit is contained in:
Donald Zou
2025-08-12 17:21:08 +08:00
parent 0a87453961
commit d54609cc29
3 changed files with 9 additions and 5 deletions

View File

@@ -64,9 +64,9 @@ const updateProfile = async () => {
updatingProfile.value = false
})
}
const deleteSuccess = () => {
router.push('/clients')
emits("deleteSuccess")
const deleteSuccess = async () => {
await router.push('/clients')
await assignmentStore.getClients()
}
</script>