fix: 🐛 transition aborted error when deleting group (#2250)

This commit is contained in:
Cameron Perera authored and GitHub committed 2024-04-17 11:13:58 -05:00
1 parent 6bbddc56b1
commit 9b20b150eb
1 file changed
+1 -1
@@ -69,7 +69,7 @@ export default class ScopesScopeGroupsIndexController extends Controller {
@notifySuccess('notifications.delete-success')
async delete(group) {
await group.destroyRecord();
await this.router.replaceWith('scopes.scope.groups');
this.router.replaceWith('scopes.scope.groups');
await this.router.refresh();
}