logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: e029c2864f1c06822213f3308d0df3c63a41a45b
parent 6751c22a23778418568f8b1ec6baecf11ecb23f2
Author: Henry Jameson <me@hjkos.com>
Date:   Wed, 30 Mar 2022 18:00:48 +0300

Merge branch 'vue3-again' into vue3-no-compat

* vue3-again:
  fix importer

Diffstat:

Msrc/components/importer/importer.vue44++++++++++++++++++++++++--------------------
1 file changed, 24 insertions(+), 20 deletions(-)

diff --git a/src/components/importer/importer.vue b/src/components/importer/importer.vue @@ -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>