From 9b2bf3c2deaf3518283386ba5cad627881e85b51 Mon Sep 17 00:00:00 2001 From: Miguel Cabrerizo <30386061+doncicuto@users.noreply.github.com> Date: Fri, 24 Mar 2023 14:46:47 +0100 Subject: [PATCH] fix(console): shortcut arrangement start page (#5161) feat: shortcut arrangement start page Co-authored-by: Max Peintner --- console/src/app/modules/shortcuts/shortcuts.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/console/src/app/modules/shortcuts/shortcuts.component.ts b/console/src/app/modules/shortcuts/shortcuts.component.ts index 78ed19d64..442589ea4 100644 --- a/console/src/app/modules/shortcuts/shortcuts.component.ts +++ b/console/src/app/modules/shortcuts/shortcuts.component.ts @@ -178,10 +178,10 @@ export class ShortcutsComponent implements OnDestroy { } else { switch (listName) { case 'main': - this.main = [PROFILE_SHORTCUT /* CREATE_ORG, CREATE_PROJECT, CREATE_USER */]; + this.main = [CREATE_ORG, CREATE_PROJECT, CREATE_USER]; break; case 'secondary': - this.secondary = [CREATE_ORG, CREATE_PROJECT, CREATE_USER]; + this.secondary = this.ALL_SHORTCUTS.filter((item) => item.i18nTitle === 'SETTINGS.GROUPS.APPEARANCE'); // [LOGIN_POLICY, PRIVATELABEL_POLICY].map((p) => { // const policy: string = { // i18nTitle: p.i18nTitle, @@ -196,7 +196,7 @@ export class ShortcutsComponent implements OnDestroy { // }); break; case 'third': - this.third = this.ALL_SHORTCUTS.filter((item) => item.i18nTitle === 'SETTINGS.GROUPS.APPEARANCE'); + this.third = [PROFILE_SHORTCUT]; // [LOGIN_TEXTS_POLICY, MESSAGE_TEXTS_POLICY].map((p) => { // const policy: ShortcutItem = { // i18nTitle: p.i18nTitle,