Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

chore(nc-gui): lint

Ramesh Mane7c870f700fda
diff --git a/packages/nc-gui/composables/useViewData.ts b/packages/nc-gui/composables/useViewData.ts
index 7fb470c016..10e4160bcf 100644
--- a/packages/nc-gui/composables/useViewData.ts
+++ b/packages/nc-gui/composables/useViewData.ts
@@ -1,4 +1,4 @@
-import { ViewTypes, PermissionRoleMap, ProjectRoles, PermissionEntity, PermissionKey } from 'nocodb-sdk'
+import { PermissionEntity, PermissionKey, ViewTypes } from 'nocodb-sdk'
import axios from 'axios'
import type { Api, ColumnType, FormColumnType, FormType, GalleryType, PaginatedType, TableType, ViewType } from 'nocodb-sdk'
import type { ComputedRef, Ref } from 'vue'
diff --git a/packages/nc-gui/lang/en.json b/packages/nc-gui/lang/en.json
index 40d3571cfa..677a029bea 100644
--- a/packages/nc-gui/lang/en.json
+++ b/packages/nc-gui/lang/en.json
@@ -1739,7 +1739,10 @@
"changePlan": "ChangePlan",
"goToPermissionsOverview": "Go to Permissions Overview",
"goToBaseSettings": "Go to Base Settings",
- "convertToSharedBase": "Convert to Shared Base"
+ "convertToSharedBase": "Convert to Shared Base",
+ "revertToDefault": "Revert to Default",
+ "viewFieldPermissions": "View field permissions",
+ "revertPermissionsToDefault": "Revert permissions to default"
},
"tooltip": {
"includeUserHint": "The user who triggered the webhook will be included in the payload as a 'user' object.",
diff --git a/packages/nc-gui/lib/form.ts b/packages/nc-gui/lib/form.ts
index 078aba82be..3dd065ec27 100644
--- a/packages/nc-gui/lib/form.ts
+++ b/packages/nc-gui/lib/form.ts
@@ -169,7 +169,6 @@ export class FormFilters {
}
if (!column.permissions?.isAllowedToEdit) {
- console.log('column', column.title, column.permissions?.isAllowedToEdit)
errors[
column.fk_column_id
] = `Condition references a field (${column.title}) that is not editable and will be hidden in shared form.`