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
0e69d98b99
commit
4b6f698b77
|
@ -53,7 +53,7 @@
|
||||||
<span class="navbar-item">
|
<span class="navbar-item">
|
||||||
<b-button type="is-text" @click="$router.go(-1)">{{ $t("Cancel") }}</b-button>
|
<b-button type="is-text" @click="$router.go(-1)">{{ $t("Cancel") }}</b-button>
|
||||||
</span>
|
</span>
|
||||||
<span class="navbar-item">
|
<span class="navbar-item" v-if="this.isUpdate">
|
||||||
<b-button type="is-danger is-outlined" @click="deletePost">{{
|
<b-button type="is-danger is-outlined" @click="deletePost">{{
|
||||||
$t("Delete post")
|
$t("Delete post")
|
||||||
}}</b-button>
|
}}</b-button>
|
||||||
|
|
Loading…
Reference in a new issue