diff --git a/packages/nc-gui/components/importantAnnouncement.vue b/packages/nc-gui/components/importantAnnouncement.vue
index c330badf46..169cf98357 100644
--- a/packages/nc-gui/components/importantAnnouncement.vue
+++ b/packages/nc-gui/components/importantAnnouncement.vue
@@ -67,7 +67,7 @@ export default {
set(val) {
return this.$store.commit('app/MutHiddenAnnouncement', val ? null : true)
}
- },
+ }
},
mounted() {
setTimeout(() => {
diff --git a/packages/nc-gui/components/project/appStore/inputs/checkboxField.vue b/packages/nc-gui/components/project/appStore/inputs/checkboxField.vue
index 5d46f03fd8..f888e9b86b 100644
--- a/packages/nc-gui/components/project/appStore/inputs/checkboxField.vue
+++ b/packages/nc-gui/components/project/appStore/inputs/checkboxField.vue
@@ -28,7 +28,7 @@ export default {
const $listeners = {}
return $listeners
}
- },
+ }
}
diff --git a/packages/nc-gui/components/project/auditTab/db.vue b/packages/nc-gui/components/project/auditTab/db.vue
index c81e720e48..a3f2be0387 100644
--- a/packages/nc-gui/components/project/auditTab/db.vue
+++ b/packages/nc-gui/components/project/auditTab/db.vue
@@ -407,7 +407,6 @@ export default {
},
async migrationUp(steps = 99999999999) {
try {
-
await this.$store.dispatch('sqlMgr/ActSqlOp', [null, 'migrationsUp', {
env: this.nodes.env,
dbAlias: this.nodes.dbAlias,
diff --git a/packages/nc-gui/components/project/spreadsheet/components/editColumn/lookupOptions.vue b/packages/nc-gui/components/project/spreadsheet/components/editColumn/lookupOptions.vue
index 42e32fe734..0606047029 100644
--- a/packages/nc-gui/components/project/spreadsheet/components/editColumn/lookupOptions.vue
+++ b/packages/nc-gui/components/project/spreadsheet/components/editColumn/lookupOptions.vue
@@ -78,7 +78,6 @@ export default {
}))
return refTables
-
},
columnList() {
return ((
diff --git a/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue b/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue
index 99d8563efa..21430fea29 100644
--- a/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue
+++ b/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue
@@ -184,10 +184,8 @@ export default {
this.$emit('input', val)
if (this.isAttachment || this.isEnum || this.isBoolean || this.isSet || this.isTime || this.isDateTime || this.isDate) {
this.syncData()
- } else {
- if (!this.isCurrency) {
- this.syncDataDebounce(this)
- }
+ } else if (!this.isCurrency) {
+ this.syncDataDebounce(this)
}
}
}
@@ -206,7 +204,6 @@ export default {
$listeners.cancel = this.$listeners.cancel
}
-
return $listeners
}
diff --git a/packages/nc-gui/components/project/spreadsheet/components/importExport/columnMappingModal.vue b/packages/nc-gui/components/project/spreadsheet/components/importExport/columnMappingModal.vue
index a22b1edce3..a2ff286336 100644
--- a/packages/nc-gui/components/project/spreadsheet/components/importExport/columnMappingModal.vue
+++ b/packages/nc-gui/components/project/spreadsheet/components/importExport/columnMappingModal.vue
@@ -154,8 +154,8 @@ export default {
// check if the input contains null value for a required column
if (v.pk ? !v.ai && !v.cdf : !v.cdf && v.rqd) {
if (this.parsedCsv && this.parsedCsv.data && this.parsedCsv.data.slice(0, 500)
- .some(r => r[row.sourceCn] === null || r[row.sourceCn] === undefined || r[row.sourceCn] === "" )) {
- return `null value violates not-null constraint`
+ .some(r => r[row.sourceCn] === null || r[row.sourceCn] === undefined || r[row.sourceCn] === '')) {
+ return 'null value violates not-null constraint'
}
}
diff --git a/packages/nc-gui/components/project/spreadsheet/components/moreActions.vue b/packages/nc-gui/components/project/spreadsheet/components/moreActions.vue
index b8be60b14e..117e289e3b 100644
--- a/packages/nc-gui/components/project/spreadsheet/components/moreActions.vue
+++ b/packages/nc-gui/components/project/spreadsheet/components/moreActions.vue
@@ -309,10 +309,10 @@ export default {
return res
}, {}))
await this.$api.dbTableRow.bulkCreate(
- 'noco',
- this.projectName,
- this.meta.title,
- batchData
+ 'noco',
+ this.projectName,
+ this.meta.title,
+ batchData
)
progress += batchData.length
this.$store.commit('loader/MutMessage', `Importing data : ${progress}/${data.length}`)
diff --git a/packages/nc-gui/components/project/spreadsheet/helpers/imageExt.js b/packages/nc-gui/components/project/spreadsheet/helpers/imageExt.js
index 1f2af2c856..dfb4a5f7ef 100644
--- a/packages/nc-gui/components/project/spreadsheet/helpers/imageExt.js
+++ b/packages/nc-gui/components/project/spreadsheet/helpers/imageExt.js
@@ -1,22 +1,22 @@
const imageExt = [
- "jpeg",
- "gif",
- "png",
- "png",
- "svg",
- "bmp",
- "ico",
- "jpg",
- "webp",
-];
+ 'jpeg',
+ 'gif',
+ 'png',
+ 'png',
+ 'svg',
+ 'bmp',
+ 'ico',
+ 'jpg',
+ 'webp'
+]
-export default imageExt;
+export default imageExt
const isImage = (name) => {
- return imageExt.some((e) => name.toLowerCase().endsWith(`.${e}`));
-};
+ return imageExt.some(e => name.toLowerCase().endsWith(`.${e}`))
+}
-export { isImage };
+export { isImage }
/**
* @copyright Copyright (c) 2021, Xgene Cloud Ltd
*
diff --git a/packages/nc-gui/components/project/tableTabs/aclTsFileDbChild.vue b/packages/nc-gui/components/project/tableTabs/aclTsFileDbChild.vue
index 33dd6fddd1..3a477f9b17 100644
--- a/packages/nc-gui/components/project/tableTabs/aclTsFileDbChild.vue
+++ b/packages/nc-gui/components/project/tableTabs/aclTsFileDbChild.vue
@@ -341,7 +341,6 @@ export default {
},
async save() {
try {
-
await this.$store.dispatch('sqlMgr/ActSqlOp', [null, 'xcRoutesPolicyUpdate', {
env: this.nodes.env,
dbAlias: this.nodes.dbAlias,
diff --git a/packages/nc-gui/components/templates/help.vue b/packages/nc-gui/components/templates/help.vue
index 208744be31..06a193e09d 100644
--- a/packages/nc-gui/components/templates/help.vue
+++ b/packages/nc-gui/components/templates/help.vue
@@ -39,38 +39,39 @@ export default {
description: 'Add tables',
mac: 'Command + Control + T',
windows: 'Alt + Shift + T'
- },{
+ }, {
description: 'Add columns',
mac: 'Command + Control + C',
windows: 'Alt + Shift + C'
- },{
+ }, {
description: 'Add new column row',
mac: 'Command + Control + A',
windows: 'Alt + Shift + A'
- },{
+ }, {
description: 'Table navigation',
mac: 'Command + Control + Arrow Down
AND
Command + Control + Arrow Up',
windows: 'Alt + Shift + Arrow Down
AND
Alt + Shift + Arrow Up'
- },{
+ }, {
description: 'Column navigation',
mac: 'Command + Control + Arrow Right
AND
Command + Control + Arrow Left',
windows: 'Alt + Shift + Arrow Right
AND
Alt + Shift + Arrow Right'
- },{
+ }, {
description: 'Copy json to clipboard',
mac: 'Command + Control + J',
windows: 'Alt + Shift + J'
- },{
+ }, {
description: 'Submit template',
mac: 'Command + Control + S',
windows: 'Alt + Shift + S'
- },]
+ }]
}
},
computed: {
localState: {
get() {
return this.value
- }, set(val) {
+ },
+ set(val) {
this.$emit('input', val)
}
}
diff --git a/packages/nc-gui/components/trialExpired.vue b/packages/nc-gui/components/trialExpired.vue
index fbda73e9c9..d6806dd89d 100644
--- a/packages/nc-gui/components/trialExpired.vue
+++ b/packages/nc-gui/components/trialExpired.vue
@@ -14,7 +14,6 @@