mirror of
https://github.com/ArenMg/aren.git
synced 2024-11-21 16:10:52 +00:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
c1e8f2b058
2 changed files with 4 additions and 2 deletions
|
@ -43,7 +43,9 @@
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (this.$route.query.resetPassword && this.$route.query.token) {
|
if (this.$route.query.resetPassword && this.$route.query.token) {
|
||||||
this.open();
|
setTimeout(()=>{
|
||||||
|
this.open()
|
||||||
|
}, 2000)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
<button
|
<button
|
||||||
v-if="
|
v-if="
|
||||||
($root.user.is('ADMIN') || $root.user.is('MODO')) &&
|
($root.user.is('ADMIN') || $root.user.is('MODO') || (comment.owner.id == $root.user.id) ) &&
|
||||||
comment.comments.length < 1
|
comment.comments.length < 1
|
||||||
"
|
"
|
||||||
title="Supprimer le commentaire"
|
title="Supprimer le commentaire"
|
||||||
|
|
Loading…
Reference in a new issue