Skip to content

Commit 74d0a4f

Browse files
fixed: create -and -close on registration
1 parent c40faf3 commit 74d0a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Vue/vaahtwo/stores/store-registrations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ export const useRegistrationStore = defineStore({
453453
case 'create-and-close':
454454
case 'save-and-close':
455455
this.setActiveItemAsEmpty();
456-
this.$router.push({name: 'registrations.index'});
456+
await this.$router.push({name: 'registrations.index'});
457457
break;
458458
case 'save-and-clone':
459459
case 'create-and-clone':

0 commit comments

Comments
 (0)