Skip to content

Commit

Permalink
#852: keep lock update to 1 place.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Mulholland committed Jun 27, 2019
1 parent 4cd97e4 commit ce9fcbb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/renderer/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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())
},
Expand Down

0 comments on commit ce9fcbb

Please sign in to comment.