Skip to content
Snippets Groups Projects
Verified Commit e000b3c9 authored by Martin Weise's avatar Martin Weise
Browse files
parent fed6fa45
Branches
No related tags found
5 merge requests!422Fixed a library issue where the value could not be empty,!421Fixed a library issue where the value could not be empty,!419Fixed a library issue where the value could not be empty,!412Fixed a library issue where the value could not be empty,!410Fixed a library issue where the value could not be empty
...@@ -152,7 +152,6 @@ ...@@ -152,7 +152,6 @@
<v-checkbox <v-checkbox
v-model="c.unique" v-model="c.unique"
:disabled="disabled || c.type === 'serial'" :disabled="disabled || c.type === 'serial'"
:hidden="c.primary_key"
:label="$t('pages.table.subpages.schema.unique.label')" /> :label="$t('pages.table.subpages.schema.unique.label')" />
</v-col> </v-col>
<v-col <v-col
...@@ -169,7 +168,6 @@ ...@@ -169,7 +168,6 @@
</v-col> </v-col>
</v-row> </v-row>
<v-row <v-row
v-if="columns.length !== 0"
dense> dense>
<v-col> <v-col>
<v-btn <v-btn
...@@ -182,8 +180,7 @@ ...@@ -182,8 +180,7 @@
@click="addColumn()" /> @click="addColumn()" />
</v-col> </v-col>
</v-row> </v-row>
<v-row <v-row>
v-if="columns.length !== 0">
<v-col> <v-col>
<v-btn <v-btn
color="secondary" color="secondary"
...@@ -252,7 +249,7 @@ export default { ...@@ -252,7 +249,7 @@ export default {
return this.$vuetify.theme.global.name.toLowerCase().endsWith('contrast') ? runtimeConfig.public.variant.button.contrast : runtimeConfig.public.variant.button.normal return this.$vuetify.theme.global.name.toLowerCase().endsWith('contrast') ? runtimeConfig.public.variant.button.contrast : runtimeConfig.public.variant.button.normal
}, },
showPrimaryKeyWarning () { showPrimaryKeyWarning () {
if (this.columns.length === 0) { if (this.disabled) {
return false return false
} }
return this.columns.filter(c => c.primary_key).length === 0 return this.columns.filter(c => c.primary_key).length === 0
......
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
<TableSchema <TableSchema
ref="schema" ref="schema"
:back="false" :back="false"
:disabled="step > 4" :disabled="step !== 4"
:loading="loading" :loading="loading"
:submit-text="$t('navigation.continue')" :submit-text="$t('navigation.continue')"
:columns="tableCreate.columns" :columns="tableCreate.columns"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment