Merge pull request #4247 from pixelfed/staging

Staging
This commit is contained in:
daniel 2023-03-25 02:50:25 -06:00 committed by GitHub
commit be4d221b3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 0 deletions

BIN
public/js/manifest.js vendored

Binary file not shown.

BIN
public/js/post.chunk.3615472077795fd7.js vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -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;