mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-02 08:58:52 +00:00
fix: missing clear selection after delete action (#6982)
Co-authored-by: Elio Bischof <[email protected]>
This commit is contained in:
co-authored by
Elio Bischof
parent
6f3afb810d
commit
f09fbf8709
@@ -83,8 +83,8 @@ export class ActionTableComponent implements OnInit {
|
|||||||
this.mgmtService
|
this.mgmtService
|
||||||
.deleteAction(action.id)
|
.deleteAction(action.id)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
this.selection.clear();
|
||||||
this.toast.showInfo('FLOWS.DIALOG.DELETEACTION.DELETE_SUCCESS', true);
|
this.toast.showInfo('FLOWS.DIALOG.DELETEACTION.DELETE_SUCCESS', true);
|
||||||
|
|
||||||
this.refreshPage();
|
this.refreshPage();
|
||||||
})
|
})
|
||||||
.catch((error: any) => {
|
.catch((error: any) => {
|
||||||
|
|||||||
@@ -309,6 +309,7 @@ export class UserTableComponent implements OnInit {
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.refreshPage();
|
this.refreshPage();
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
this.selection.clear();
|
||||||
this.toast.showInfo('USER.TOAST.DELETED', true);
|
this.toast.showInfo('USER.TOAST.DELETED', true);
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user