feat(console): org metadata, mfa i18n, defer load of actions (#4471)

* user metadata refactor

* metadata module, set remove interface

* refresh list

* mfa, passwordless i18n

* i18n, metadata table

Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
Max Peintner
2022-10-04 05:44:43 +00:00
committed by GitHub
co-authored by Livio Spring
parent 531c30a031
commit 05ad3b4ef0
29 changed files with 415 additions and 244 deletions
@@ -84,7 +84,8 @@ export class ActionTableComponent implements OnInit {
.deleteAction(action.id)
.then(() => {
this.toast.showInfo('FLOWS.DIALOG.DELETEACTION.DELETE_SUCCESS', true);
this.getData(20, 0);
this.refreshPage();
})
.catch((error: any) => {
this.toast.showError(error);
@@ -152,7 +153,9 @@ export class ActionTableComponent implements OnInit {
}
public refreshPage(): void {
this.getData(this.paginator.pageSize, this.paginator.pageIndex * this.paginator.pageSize);
setTimeout(() => {
this.getData(this.paginator.pageSize, this.paginator.pageIndex * this.paginator.pageSize);
}, 1000);
}
public deactivateSelection(): Promise<void> {