mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
commit
b6437380b4
6 changed files with 2 additions and 15 deletions
BIN
public/js/manifest.js
vendored
BIN
public/js/manifest.js
vendored
Binary file not shown.
BIN
public/js/post.chunk.5ff16664f9adb901.js
vendored
BIN
public/js/post.chunk.5ff16664f9adb901.js
vendored
Binary file not shown.
BIN
public/js/post.chunk.9184101a2b809af1.js
vendored
Normal file
BIN
public/js/post.chunk.9184101a2b809af1.js
vendored
Normal file
Binary file not shown.
Binary file not shown.
|
@ -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();
|
||||
}
|
||||
},
|
||||
|
||||
fetchSelf() {
|
||||
|
|
Loading…
Reference in a new issue