add suggest create button when there is not any one found on 'my event' page

This commit is contained in:
Tykayn 2020-12-08 10:39:59 +01:00 committed by Thomas Citharel
parent cae4062b4e
commit 9de04695d9
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 10 additions and 0 deletions

View File

@ -86,6 +86,16 @@
type="is-danger"
>
{{ $t("No events found") }}
<div class="suggest-create-event">
<b-button
tag="router-link"
:to="{ name: RouteName.CREATE_EVENT }"
type="is-primary"
>
{{ $t("Create") }}
</b-button>
</div>
</b-message>
</section>
</template>