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:
parent
41321d68dd
commit
e6e7ef4a18
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user