Make namespace import handle required
This commit is contained in:
@@ -46,19 +46,9 @@
|
||||
lg="6"
|
||||
>
|
||||
<b-form-group
|
||||
:label="$t('image.editor.label')"
|
||||
label-class="d-flex align-items-center text-primary"
|
||||
>
|
||||
<template #label>
|
||||
{{ $t("image.editor.label") }}
|
||||
|
||||
<c-input-confirm
|
||||
v-if="uploadedFile('auth.ui.background-image-src')"
|
||||
show-icon
|
||||
class="ml-auto"
|
||||
@confirmed="$emit('resetAttachment', 'auth.ui.background-image-src')"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<ace-editor
|
||||
data-test-id="auth-bg-image-styling-editor"
|
||||
:font-size="14"
|
||||
|
||||
@@ -4,7 +4,10 @@
|
||||
footer-bg-variant="white"
|
||||
footer-class="d-flex justify-content-between align-items-center"
|
||||
>
|
||||
<b-form-group :label="$t('name.label')">
|
||||
<b-form-group
|
||||
:label="$t('name.label')"
|
||||
label-class="text-primary"
|
||||
>
|
||||
<b-form-input
|
||||
v-model="name"
|
||||
data-test-id="input-name"
|
||||
@@ -14,7 +17,7 @@
|
||||
</b-form-group>
|
||||
|
||||
<b-form-group
|
||||
:label="$t('slug.label')"
|
||||
:label="$t('import.slug.label')"
|
||||
label-class="text-primary"
|
||||
>
|
||||
<b-form-input
|
||||
@@ -33,7 +36,7 @@
|
||||
<b-button
|
||||
data-test-id="button-back"
|
||||
variant="link"
|
||||
class="back px-0"
|
||||
class="text-dark back text-left text-nowrap p-1"
|
||||
@click="$emit('back')"
|
||||
>
|
||||
<font-awesome-icon
|
||||
@@ -80,7 +83,7 @@ export default {
|
||||
|
||||
computed: {
|
||||
submitDisabled () {
|
||||
return [this.nameState, this.slugState].includes(false)
|
||||
return [this.nameState, this.slugState, this.slug].includes(false)
|
||||
},
|
||||
|
||||
nameState () {
|
||||
|
||||
@@ -10,6 +10,8 @@ import:
|
||||
uploadFilePlaceholder: Click or drop file here to upload (.zip format)
|
||||
back: Back
|
||||
import: Import
|
||||
slug:
|
||||
label: Short name *
|
||||
description:
|
||||
label: Namespace description
|
||||
placeholder: Enter namespace description
|
||||
|
||||
Reference in New Issue
Block a user