diff --git a/src/app/feature/stack/components/stack/stack.component.html b/src/app/feature/stack/components/stack/stack.component.html index c86d76171..c77adf73c 100644 --- a/src/app/feature/stack/components/stack/stack.component.html +++ b/src/app/feature/stack/components/stack/stack.component.html @@ -1,13 +1,8 @@ - @if (config.title || config.icon) { + @if (config.title) { - @if (config.icon) { - - } - @if (config.title) { - {{ config.title }} - } + {{ config.title }} } @if (config.showCloseButton) { diff --git a/src/app/feature/stack/components/stack/stack.component.ts b/src/app/feature/stack/components/stack/stack.component.ts index daa7646bf..d7c4f565b 100644 --- a/src/app/feature/stack/components/stack/stack.component.ts +++ b/src/app/feature/stack/components/stack/stack.component.ts @@ -4,7 +4,6 @@ import { ModalController } from "@ionic/angular"; export interface IStackConfig { templateName: string; title?: string; - icon?: string; showCloseButton?: boolean; } diff --git a/src/app/feature/stack/stack.service.ts b/src/app/feature/stack/stack.service.ts index 5ede4140b..9bec06bd8 100644 --- a/src/app/feature/stack/stack.service.ts +++ b/src/app/feature/stack/stack.service.ts @@ -30,11 +30,10 @@ export class StackService extends SyncServiceBase { const [actionId] = args; const childActions = { open: async () => { - const { template, title, icon, show_close_button } = params; + const { template, title, show_close_button } = params; const stackConfig = { templateName: template, title, - icon, showCloseButton: show_close_button, }; this.pushStack(stackConfig);