fix: lint

This commit is contained in:
DarkPhoenix2704
2025-06-10 10:33:08 +00:00
parent e305992431
commit 6481290728
9 changed files with 3 additions and 19 deletions

View File

@@ -112,8 +112,7 @@ const validators = computed(() => {
: {
'dataSource.connection.database':
selectedIntegration.value && getDataSourceValue('database') ? [] : [fieldRequiredValidator()],
...([ClientType.PG].includes(formState.value.dataSource.client) &&
formState.value.dataSource.searchPath
...([ClientType.PG].includes(formState.value.dataSource.client) && formState.value.dataSource.searchPath
? {
'dataSource.searchPath.0':
selectedIntegration.value && getDataSourceValue('schema') ? [] : [fieldRequiredValidator()],