forked from AkkomaGang/akkoma-fe
Merge branch 'vue3-again' into vue3-no-compat
* vue3-again: fix importer
This commit is contained in:
commit
e029c2864f
1 changed files with 24 additions and 20 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue