diff --git a/core/app/core/src/lib/components/widget-panel/widget-panel.component.html b/core/app/core/src/lib/components/widget-panel/widget-panel.component.html index a3e288063..c24de7032 100644 --- a/core/app/core/src/lib/components/widget-panel/widget-panel.component.html +++ b/core/app/core/src/lib/components/widget-panel/widget-panel.component.html @@ -26,7 +26,7 @@ */ -->
- + diff --git a/core/app/core/src/lib/components/widget-panel/widget-panel.component.ts b/core/app/core/src/lib/components/widget-panel/widget-panel.component.ts index 51be4ead5..6d3333683 100644 --- a/core/app/core/src/lib/components/widget-panel/widget-panel.component.ts +++ b/core/app/core/src/lib/components/widget-panel/widget-panel.component.ts @@ -27,6 +27,8 @@ import {Component, Input, OnInit} from '@angular/core'; import {animate, style, transition, trigger} from '@angular/animations'; import {LanguageStore} from '../../store/language/language.store'; +import {PanelCollapseMode} from "../panel/panel.component"; + @Component({ selector: 'scrm-widget-panel', @@ -57,7 +59,9 @@ import {LanguageStore} from '../../store/language/language.store'; export class WidgetPanelComponent implements OnInit { @Input() title = ''; - @Input() mode: 'collapsible' | 'closable' | 'none' = 'none'; + @Input() titleKey = ''; + @Input() showHeader = true; + @Input() mode: PanelCollapseMode; displayContent = true;