mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-05 23:07:04 +00:00
feat: team & settings modal data sources tab revised
Signed-off-by: mertmit <mertmit99@gmail.com>
This commit is contained in:
@@ -13,6 +13,12 @@ import {
|
||||
viewIcons,
|
||||
} from '#imports'
|
||||
|
||||
interface Props {
|
||||
baseId: string
|
||||
}
|
||||
|
||||
const props = defineProps<Props>()
|
||||
|
||||
const { t } = useI18n()
|
||||
|
||||
const { $api, $e } = useNuxtApp()
|
||||
@@ -32,8 +38,9 @@ const searchInput = $ref('')
|
||||
const filteredTables = computed(() =>
|
||||
tables.filter(
|
||||
(el) =>
|
||||
(typeof el?._ptn === 'string' && el._ptn.toLowerCase().includes(searchInput.toLowerCase())) ||
|
||||
(typeof el?.title === 'string' && el.title.toLowerCase().includes(searchInput.toLowerCase())),
|
||||
el?.base_id === props.baseId &&
|
||||
((typeof el?._ptn === 'string' && el._ptn.toLowerCase().includes(searchInput.toLowerCase())) ||
|
||||
(typeof el?.title === 'string' && el.title.toLowerCase().includes(searchInput.toLowerCase()))),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user