We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eccdbe1 commit 3a27e63Copy full SHA for 3a27e63
resources/assets/components/Post.vue
@@ -171,7 +171,7 @@
171
}
172
},
173
174
- beforeMount() {
+ created() {
175
this.init();
176
177
@@ -181,20 +181,7 @@
181
182
methods: {
183
init() {
184
- if(this.cachedStatus && this.cachedProfile) {
185
- this.post = this.cachedStatus;
186
- this.media = this.post.media_attachments;
187
- this.profile = this.post.account;
188
- this.user = this.cachedProfile;
189
- if(this.post.in_reply_to_id) {
190
- this.fetchReply();
191
- } else {
192
- this.isReply = false;
193
- this.fetchRelationship();
194
- }
195
196
- this.fetchSelf();
197
+ this.fetchSelf();
198
199
200
fetchSelf() {
0 commit comments