mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-12-17 00:46:19 +00:00
Update client deletion
Optimized client deletion
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user