mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-14 10:34:31 +00:00
commit
be4d221b3c
5 changed files with 4 additions and 0 deletions
BIN
public/js/manifest.js
vendored
BIN
public/js/manifest.js
vendored
Binary file not shown.
BIN
public/js/post.chunk.3615472077795fd7.js
vendored
Normal file
BIN
public/js/post.chunk.3615472077795fd7.js
vendored
Normal file
Binary file not shown.
BIN
public/js/post.chunk.52e6d50f600ac40a.js
vendored
BIN
public/js/post.chunk.52e6d50f600ac40a.js
vendored
Binary file not shown.
Binary file not shown.
|
@ -197,6 +197,10 @@
|
||||||
if(!res.data || !res.data.hasOwnProperty('id')) {
|
if(!res.data || !res.data.hasOwnProperty('id')) {
|
||||||
this.$router.push('/i/web/404');
|
this.$router.push('/i/web/404');
|
||||||
}
|
}
|
||||||
|
if(!res.data.hasOwnProperty('account') || !res.data.account) {
|
||||||
|
this.postStateError = true;
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.post = res.data;
|
this.post = res.data;
|
||||||
this.media = this.post.media_attachments;
|
this.media = this.post.media_attachments;
|
||||||
this.profile = this.post.account;
|
this.profile = this.post.account;
|
||||||
|
|
Loading…
Reference in a new issue