From 0a4505ed3ac8c05f0e6834980ce13dd1818f2cae Mon Sep 17 00:00:00 2001
From: Daniel Supernault
@@ -953,7 +953,8 @@ export default {
})
}
]
- }
+ },
+ content: undefined
}
},
watch: {
@@ -1027,6 +1028,11 @@ export default {
}
self.status = response.data.status;
self.media = self.status.media_attachments;
+ self.content = response.data.status.content;
+ self.status.emojis.forEach(function(emoji) {
+ let img = ``;
+ self.content = self.content.replace(`:${emoji.shortcode}:`, img);
+ });
self.likesPage = 2;
self.sharesPage = 2;
self.showCaption = !response.data.status.sensitive;
diff --git a/resources/assets/js/components/partials/StatusCard.vue b/resources/assets/js/components/partials/StatusCard.vue
index 4d2422e4d..0b60723b2 100644
--- a/resources/assets/js/components/partials/StatusCard.vue
+++ b/resources/assets/js/components/partials/StatusCard.vue
@@ -160,7 +160,7 @@
{{status.account.username}}
-
+