Commit 57264bea21d0d3ff3dc42961f1f3c8c51adc998a
dethrash images
Joran committed on 11/23/2017, 3:12:54 AMParent: 878e3cbe2f2e0cbdbd6908d040f29a7a2a9fc6c5
Files changed
src/components/Message.vue | changed |
src/plugins/depject_api.js | changed |
src/components/Message.vue | ||
---|---|---|
@@ -95,9 +95,9 @@ | ||
95 | 95 … | // this.$depject_api.getThread[0]( |
96 | 96 … | // this.message.key(), this.setRelatedMessages |
97 | 97 … | // ) |
98 | 98 … | // } |
99 | - this.image_url = this.$depject_api.avatar_image[0]( | |
99 … | + this.image_url = this.$dethrashed_avatar_image( | |
100 | 100 … | this.message.value.author() |
101 | 101 … | ) |
102 | 102 … | |
103 | 103 … | // this.content_text_md = this.$depject_api.markdown[0](this.message.value.content()) |
src/plugins/depject_api.js | ||
---|---|---|
@@ -9,8 +9,9 @@ | ||
9 | 9 … | require('./../../modules') |
10 | 10 … | ) |
11 | 11 … | |
12 | 12 … | Vue.prototype.$dethrashed_signifier = memo(depject_api.signifier[0]) |
13 … | + Vue.prototype.$dethrashed_avatar_image = memo(depject_api.avatar_image[0]) | |
13 | 14 … | Vue.prototype.$depject_api = depject_api; |
14 | 15 … | }; |
15 | 16 … | |
16 | 17 … | export default DepjectAPI; |
Built with git-ssb-web