fix importer

This commit is contained in:
Henry Jameson 2022-03-30 18:00:24 +03:00
parent 1943991077
commit dadf2f407f

View File

@ -20,26 +20,30 @@
> >
{{ submitButtonLabel || $t('importer.submit') }} {{ submitButtonLabel || $t('importer.submit') }}
</button> </button>
<div v-if="success">
<button <button
v-if="success"
class="button-unstyled" class="button-unstyled"
@click="dismiss" @click="dismiss"
> >
<FAIcon <FAIcon
icon="times" icon="times"
/> />
<p>{{ successMessage || $t('importer.success') }}</p>
</button> </button>
{{ ' ' }}
<span>{{ successMessage || $t('importer.success') }}</span>
</div>
<div v-else-if="error">
<button <button
v-else-if="error"
class="button-unstyled" class="button-unstyled"
@click="dismiss" @click="dismiss"
> >
<FAIcon <FAIcon
icon="times" icon="times"
/> />
<p>{{ errorMessage || $t('importer.error') }}</p>
</button> </button>
{{ ' ' }}
<span>{{ errorMessage || $t('importer.error') }}</span>
</div>
</div> </div>
</template> </template>