fix: missing clear selection after delete action (#6982)

Co-authored-by: Elio Bischof <elio@zitadel.com>
This commit is contained in:
Miguel Cabrerizo 2023-12-07 01:25:59 +01:00 committed by GitHub
parent 6f3afb810d
commit f09fbf8709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -83,8 +83,8 @@ export class ActionTableComponent implements OnInit {
this.mgmtService
.deleteAction(action.id)
.then(() => {
this.selection.clear();
this.toast.showInfo('FLOWS.DIALOG.DELETEACTION.DELETE_SUCCESS', true);
this.refreshPage();
})
.catch((error: any) => {

View File

@ -309,6 +309,7 @@ export class UserTableComponent implements OnInit {
setTimeout(() => {
this.refreshPage();
}, 1000);
this.selection.clear();
this.toast.showInfo('USER.TOAST.DELETED', true);
})
.catch((error) => {