Browse Source

refactor: rename variable name

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5805/head
Pranav C 2 years ago
parent
commit
c5db37188f
  1. 4
      packages/nc-gui/components/smartsheet/Grid.vue

4
packages/nc-gui/components/smartsheet/Grid.vue

@ -776,10 +776,10 @@ eventBus.on(async (event, payload) => {
}
})
const closeAddColumnDropdown = (scrollToLastAddNewRowHeader = false) => {
const closeAddColumnDropdown = (scrollToLastCol = false) => {
columnOrder.value = null
addColumnDropdown.value = false
if (scrollToLastAddNewRowHeader) {
if (scrollToLastCol) {
setTimeout(() => {
const lastAddNewRowHeader = tableHead.value?.querySelector('th:last-child')
if (lastAddNewRowHeader) {

Loading…
Cancel
Save