diff --git a/packages/nc-gui/components/auth/userManagement.vue b/packages/nc-gui/components/auth/userManagement.vue
index 4a912ccd4b..f7e123bc48 100644
--- a/packages/nc-gui/components/auth/userManagement.vue
+++ b/packages/nc-gui/components/auth/userManagement.vue
@@ -314,15 +314,10 @@
- {{ $t("msg.info.userInviteNoSMTP") }}
-
-
-
- {{
- invite_token &&
- (invite_token.email ||
- (invite_token.emails && invite_token.emails.join(", ")))
- }}.
+
+
+
@@ -646,22 +641,11 @@ export default {
},
async resendInvite(id) {
try {
- await this.$axios.post(
- "/admin/resendInvite/" + id,
- {
- projectName: this.$store.getters["project/GtrProjectName"],
- },
- {
- headers: {
- "xc-auth": this.$store.state.users.token,
- },
- params: {
- project_id: this.$route.params.project_id,
- },
- }
- );
- this.$toast.success("Invite email sent successfully").goAway(3000);
- await this.loadUsers();
+
+ await this.$api.auth.projectUserResendInvite(this.$route.params.project_id, id)
+ this.$toast.success('Invite email sent successfully').goAway(3000)
+ await this.loadUsers()
+
} catch (e) {
this.$toast.error(e.response.data.msg).goAway(3000);
}
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/columnFilter.vue b/packages/nc-gui/components/project/spreadsheet/components/columnFilter.vue
index cb6f15e8a8..be2ed4beb3 100644
--- a/packages/nc-gui/components/project/spreadsheet/components/columnFilter.vue
+++ b/packages/nc-gui/components/project/spreadsheet/components/columnFilter.vue
@@ -1,7 +1,9 @@
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/editVirtualColumn.vue b/packages/nc-gui/components/project/spreadsheet/components/editVirtualColumn.vue
index 8545eb8768..583e039632 100644
--- a/packages/nc-gui/components/project/spreadsheet/components/editVirtualColumn.vue
+++ b/packages/nc-gui/components/project/spreadsheet/components/editVirtualColumn.vue
@@ -6,7 +6,7 @@
style="overflow: auto"
class=" card nc-col-create-or-edit-card"
>
-
+
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/sortListMenu.vue b/packages/nc-gui/components/project/spreadsheet/components/sortListMenu.vue
index 2286d30867..ed685ced31 100644
--- a/packages/nc-gui/components/project/spreadsheet/components/sortListMenu.vue
+++ b/packages/nc-gui/components/project/spreadsheet/components/sortListMenu.vue
@@ -22,7 +22,7 @@
-
+