mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 14:56:53 +00:00
fix(nc-gui): some review changes
This commit is contained in:
@@ -154,7 +154,6 @@ const enableEditModeForSource = (sourceId: string) => {
|
||||
if (!input) return
|
||||
input?.focus()
|
||||
input?.select()
|
||||
// input?.scrollIntoView()
|
||||
})
|
||||
}
|
||||
|
||||
@@ -278,7 +277,7 @@ function openTableCreateDialog(sourceIndex?: number | undefined) {
|
||||
|
||||
const { close } = useDialog(resolveComponent('DlgTableCreate'), {
|
||||
'modelValue': isOpen,
|
||||
sourceId, // || sources.value[0].id,
|
||||
sourceId,
|
||||
'baseId': base.value!.id,
|
||||
'onCreate': closeDialog,
|
||||
'onUpdate:modelValue': () => closeDialog(),
|
||||
@@ -769,7 +768,7 @@ defineExpose({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-if="base?.sources?.slice(1).filter((el) => el.enabled)?.length" class="transition-height duration-200">
|
||||
<div v-if="base?.sources?.slice(1).some((el) => el.enabled)" class="transition-height duration-200">
|
||||
<div class="border-none sortable-list">
|
||||
<div v-for="(source, sourceIndex) of base.sources" :key="`source-${source.id}`">
|
||||
<template v-if="sourceIndex === 0"></template>
|
||||
|
||||
Reference in New Issue
Block a user