Don't show the delete post button when creating a new post

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-08-11 11:44:07 +02:00
parent 0e69d98b99
commit 4b6f698b77
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -53,7 +53,7 @@
<span class="navbar-item">
<b-button type="is-text" @click="$router.go(-1)">{{ $t("Cancel") }}</b-button>
</span>
<span class="navbar-item">
<span class="navbar-item" v-if="this.isUpdate">
<b-button type="is-danger is-outlined" @click="deletePost">{{
$t("Delete post")
}}</b-button>