Update Post.vue

pull/4988/head
Daniel Supernault 2024-03-07 01:28:26 -07:00
rodzic eccdbe1f57
commit 3a27e637f8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 23740873EE6F76A1
1 zmienionych plików z 2 dodań i 15 usunięć

Wyświetl plik

@ -171,7 +171,7 @@
}
},
beforeMount() {
created() {
this.init();
},
@ -181,20 +181,7 @@
methods: {
init() {
if(this.cachedStatus && this.cachedProfile) {
this.post = this.cachedStatus;
this.media = this.post.media_attachments;
this.profile = this.post.account;
this.user = this.cachedProfile;
if(this.post.in_reply_to_id) {
this.fetchReply();
} else {
this.isReply = false;
this.fetchRelationship();
}
} else {
this.fetchSelf();
}
this.fetchSelf();
},
fetchSelf() {