From b055fff6e0b8a00d64b8c4aba2a241dffa01b83f Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 16 Sep 2021 15:48:09 +0200 Subject: [PATCH] fixed tab switching --- CHANGELOG.md | 14 +++++++++++--- packages/web/src/utility/createActivator.ts | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c238741..f9a554c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,17 @@ # ChangeLog +### 4.3.0 +- ADDED: Table structure editor +- ADDED: Index support +- ADDED: Unique constraint support +- ADDED: Context menu for drop/rename table/columns and for drop view/procedure/function +- ADDED: Added support for windows arm64 platform +- FIXED: Search by _id in MongoDB + ### 4.2.6 - - Fixed MongoDB import - - Configurable thousands separator #136 - - Using case insensitive text search in postgres +- FIXED: Fixed MongoDB import +- ADDED: Configurable thousands separator #136 +- ADDED: Using case insensitive text search in postgres ### 4.2.5 - FIXED: Fixed crash when using large model on some installations diff --git a/packages/web/src/utility/createActivator.ts b/packages/web/src/utility/createActivator.ts index 5d94f420..cceb282d 100644 --- a/packages/web/src/utility/createActivator.ts +++ b/packages/web/src/utility/createActivator.ts @@ -24,7 +24,7 @@ export default function createActivator(name: string, activateOnTabVisible: bool if (tabVisible) { const unsubscribeTabVisible = tabVisible.subscribe(value => { tabVisibleValue = value; - if (activateOnTabVisible) { + if (activateOnTabVisible && tabVisibleValue) { activate(); } });