mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 19:16:01 +00:00
rename file
This commit is contained in:
19
packages/web/src/appobj/SubTableColumnList.svelte
Normal file
19
packages/web/src/appobj/SubTableColumnList.svelte
Normal file
@@ -0,0 +1,19 @@
|
||||
<script lang="ts">
|
||||
import { findForeignKeyForColumn } from 'dbgate-tools';
|
||||
|
||||
import AppObjectList from './AppObjectList.svelte';
|
||||
import * as columnAppObject from './ColumnAppObject.svelte';
|
||||
|
||||
export let data;
|
||||
export let filter;
|
||||
</script>
|
||||
|
||||
<AppObjectList
|
||||
list={(data.columns || []).map(col => ({
|
||||
...data,
|
||||
...col,
|
||||
foreignKey: findForeignKeyForColumn(data, col),
|
||||
}))}
|
||||
module={columnAppObject}
|
||||
{filter}
|
||||
/>
|
||||
Reference in New Issue
Block a user