From bfd6f002d538ffca2d04d371e2d9c4d1151c5232 Mon Sep 17 00:00:00 2001 From: mayuran-deriv Date: Wed, 27 Nov 2024 21:50:26 +0400 Subject: [PATCH 1/2] fix: ui changes --- src/components/shared_ui/popover/popover.scss | 1 + src/stores/dashboard-store.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/components/shared_ui/popover/popover.scss b/src/components/shared_ui/popover/popover.scss index 4460fca3..5b15f4ea 100644 --- a/src/components/shared_ui/popover/popover.scss +++ b/src/components/shared_ui/popover/popover.scss @@ -57,6 +57,7 @@ background: var(--general-active); color: var(--text-prominent); z-index: 1; + align-items: center; &__icon { flex-grow: 1; diff --git a/src/stores/dashboard-store.ts b/src/stores/dashboard-store.ts index 1fd2e030..97d49e86 100644 --- a/src/stores/dashboard-store.ts +++ b/src/stores/dashboard-store.ts @@ -349,6 +349,8 @@ export default class DashboardStore implements IDashboardStore { showVideoDialog = (dialog_option: TDialogOptions): void => { const { url, type = '' } = dialog_option; const dialog_type = ['google', 'url']; + this.faq_search_value = ''; + this.resetTutorialTabContent(); if (dialog_type.includes(type)) { if (type === 'url') { this.dialog_options = { From d3e854dd796bfc8099c7bb0110b33836922b698f Mon Sep 17 00:00:00 2001 From: mayuran-deriv Date: Fri, 29 Nov 2024 13:40:26 +0400 Subject: [PATCH 2/2] fix: quick stat --- src/stores/dashboard-store.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stores/dashboard-store.ts b/src/stores/dashboard-store.ts index 97d49e86..4baf9bf9 100644 --- a/src/stores/dashboard-store.ts +++ b/src/stores/dashboard-store.ts @@ -350,6 +350,7 @@ export default class DashboardStore implements IDashboardStore { const { url, type = '' } = dialog_option; const dialog_type = ['google', 'url']; this.faq_search_value = ''; + this.setActiveTabTutorial(0); this.resetTutorialTabContent(); if (dialog_type.includes(type)) { if (type === 'url') {