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') }}
</button>
<button
v-if="success"
class="button-unstyled"
@click="dismiss"
>
<FAIcon
icon="times"
/>
<p>{{ successMessage || $t('importer.success') }}</p>
</button>
<button
v-else-if="error"
class="button-unstyled"
@click="dismiss"
>
<FAIcon
icon="times"
/>
<p>{{ errorMessage || $t('importer.error') }}</p>
</button>
<div v-if="success">
<button
class="button-unstyled"
@click="dismiss"
>
<FAIcon
icon="times"
/>
</button>
{{ ' ' }}
<span>{{ successMessage || $t('importer.success') }}</span>
</div>
<div v-else-if="error">
<button
class="button-unstyled"
@click="dismiss"
>
<FAIcon
icon="times"
/>
</button>
{{ ' ' }}
<span>{{ errorMessage || $t('importer.error') }}</span>
</div>
</div>
</template>