Browse Source

chore(nc-gui): lint

pull/7300/head
աɨռɢӄաօռɢ 11 months ago
parent
commit
8e4f003fcb
  1. 2
      packages/nc-gui/components/project/AccessSettings.vue
  2. 2
      packages/nc-gui/pages/forgot-password.vue
  3. 2
      packages/nc-gui/pages/signup/[[token]].vue

2
packages/nc-gui/components/project/AccessSettings.vue

@ -5,8 +5,8 @@ import {
ProjectRoles, ProjectRoles,
WorkspaceRolesToProjectRoles, WorkspaceRolesToProjectRoles,
extractRolesObj, extractRolesObj,
timeAgo,
parseStringDateTime, parseStringDateTime,
timeAgo,
} from 'nocodb-sdk' } from 'nocodb-sdk'
import type { WorkspaceUserRoles } from 'nocodb-sdk' import type { WorkspaceUserRoles } from 'nocodb-sdk'
import { isEeUI, storeToRefs } from '#imports' import { isEeUI, storeToRefs } from '#imports'

2
packages/nc-gui/pages/forgot-password.vue

@ -29,7 +29,7 @@ const formRules = {
validator: (_: unknown, v: string) => { validator: (_: unknown, v: string) => {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
if (!v?.length || validateEmail(v)) return resolve() if (!v?.length || validateEmail(v)) return resolve()
reject(new Error(t('msg.error.signUpRules.emailInvalid'))) reject(new Error(t('msg.error.signUpRules.emailInvalid')))
}) })
}, },

2
packages/nc-gui/pages/signup/[[token]].vue

@ -50,7 +50,7 @@ const formRules = {
validator: (_: unknown, v: string) => { validator: (_: unknown, v: string) => {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
if (!v?.length || validateEmail(v)) return resolve() if (!v?.length || validateEmail(v)) return resolve()
reject(new Error(t('msg.error.signUpRules.emailInvalid'))) reject(new Error(t('msg.error.signUpRules.emailInvalid')))
}) })
}, },

Loading…
Cancel
Save