From ce9fcbb7e41191773a69351ade8cdabc2494e786 Mon Sep 17 00:00:00 2001 From: Matthew Mulholland Date: Thu, 27 Jun 2019 10:34:57 +1000 Subject: [PATCH] #852: keep lock update to 1 place. --- src/renderer/components/Home.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/renderer/components/Home.vue b/src/renderer/components/Home.vue index f7db80cc6..1cae60d39 100644 --- a/src/renderer/components/Home.vue +++ b/src/renderer/components/Home.vue @@ -557,9 +557,7 @@ export default { } ipc.send('hasCaseSensitiveHeader', isCaseSensitive(hotId)) remote.getGlobal('tab').activeHotId = hotId - // LockProperties.trigger() - self.isLocked = _.includes(LockProperties.getLockedTables(), hotId) - ipc.send('hasLockedColumns', self.isLocked) + LockProperties.trigger() }) onNextHotIdFromTabRx(getHotIdFromTabIdFunction()) },