fix(console): add model for api keys, fix toast, binding (#1757)

* fix: add model for api keys, fix toast, binding

* show api clientid
This commit is contained in:
Max Peintner
2021-05-20 10:26:53 +02:00
committed by GitHub
parent d0a5ad94d2
commit 1ba70d2012
9 changed files with 496 additions and 472 deletions
@@ -511,7 +511,7 @@ export class AppDetailComponent implements OnInit, OnDestroy {
const config = { api: this.app.apiConfig };
this.currentAuthMethod = this.authMethodFromPartialConfig(config);
}
this.toast.showInfo('APP.TOAST.OIDCUPDATED', true);
this.toast.showInfo('APP.TOAST.APIUPDATED', true);
})
.catch(error => {
this.toast.showError(error);
@@ -540,7 +540,6 @@ export class AppDetailComponent implements OnInit, OnDestroy {
this.toast.showInfo('APP.TOAST.CLIENTSECRETREGENERATED', true);
this.dialog.open(AppSecretDialogComponent, {
data: {
// clientId: data.toObject().clientId ?? '',
clientSecret: resp.clientSecret,
},
width: '400px',