diff --git a/src/app/components/wt-omni-widget-window/wt-omni-widget-window-header/wt-omni-widget-window-header.vue b/src/app/components/wt-omni-widget-window/wt-omni-widget-window-header/wt-omni-widget-window-header.vue index 5a4a92e..c6d9bbb 100644 --- a/src/app/components/wt-omni-widget-window/wt-omni-widget-window-header/wt-omni-widget-window-header.vue +++ b/src/app/components/wt-omni-widget-window/wt-omni-widget-window-header/wt-omni-widget-window-header.vue @@ -13,7 +13,7 @@ >v{{ buildInfo.release }}--{{ buildInfo.build }} state.sessionState, @@ -43,8 +50,8 @@ export default { const { logoUrl } = this.config.view; return logoUrl || WebitelLogo; }, - showCloseBtn() { - return this.callSessionState === SessionState.IDLE; + hideCloseBtn() { + return this.channel === WidgetChannel.CALL && this.callSessionState !== SessionState.IDLE; }, }, methods: { diff --git a/src/app/components/wt-omni-widget-window/wt-omni-widget-window.vue b/src/app/components/wt-omni-widget-window/wt-omni-widget-window.vue index 1e2eaf9..1b423ae 100644 --- a/src/app/components/wt-omni-widget-window/wt-omni-widget-window.vue +++ b/src/app/components/wt-omni-widget-window/wt-omni-widget-window.vue @@ -2,6 +2,7 @@