mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 09:46:45 +00:00
feat: team & settings modal data sources tab revised
Signed-off-by: mertmit <mertmit99@gmail.com>
This commit is contained in:
@@ -21,9 +21,10 @@ import {
|
||||
interface Props {
|
||||
modelValue?: boolean
|
||||
tableMeta: TableType
|
||||
baseId: string
|
||||
}
|
||||
|
||||
const { tableMeta, ...props } = defineProps<Props>()
|
||||
const { tableMeta, baseId, ...props } = defineProps<Props>()
|
||||
|
||||
const emit = defineEmits(['update:modelValue', 'updated'])
|
||||
|
||||
@@ -57,11 +58,11 @@ const validators = computed(() => {
|
||||
validator: (rule: any, value: any) => {
|
||||
return new Promise<void>((resolve, reject) => {
|
||||
let tableNameLengthLimit = 255
|
||||
if (isMysql) {
|
||||
if (isMysql(baseId)) {
|
||||
tableNameLengthLimit = 64
|
||||
} else if (isPg) {
|
||||
} else if (isPg(baseId)) {
|
||||
tableNameLengthLimit = 63
|
||||
} else if (isMssql) {
|
||||
} else if (isMssql(baseId)) {
|
||||
tableNameLengthLimit = 128
|
||||
}
|
||||
const projectPrefix = project?.value?.prefix || ''
|
||||
|
||||
Reference in New Issue
Block a user