From 1af9efe54ea2fb5b9f8a2ead1b089ca1670f53f6 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 30 Mar 2018 18:48:51 +0900 Subject: [PATCH] =?UTF-8?q?=E8=BF=94=E4=BF=A1=E5=85=88=E3=83=97=E3=83=AC?= =?UTF-8?q?=E3=83=93=E3=83=A5=E3=83=BC=E3=81=AA=E3=81=A9=E3=81=A7=E3=81=AF?= =?UTF-8?q?URL=E3=83=97=E3=83=AC=E3=83=93=E3=83=A5=E3=83=BC=E3=82=92?= =?UTF-8?q?=E8=A1=A8=E7=A4=BA=E3=81=97=E3=81=AA=E3=81=84=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../desktop/views/components/sub-post-content.vue | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/client/app/desktop/views/components/sub-post-content.vue b/src/client/app/desktop/views/components/sub-post-content.vue index f13822331..a79e5e0a4 100644 --- a/src/client/app/desktop/views/components/sub-post-content.vue +++ b/src/client/app/desktop/views/components/sub-post-content.vue @@ -4,7 +4,6 @@ %fa:reply% RP: ... -
({{ post.media.length }}つのメディア) @@ -21,18 +20,7 @@ import Vue from 'vue'; export default Vue.extend({ - props: ['post'], - computed: { - urls(): string[] { - if (this.post.ast) { - return this.post.ast - .filter(t => (t.type == 'url' || t.type == 'link') && !t.silent) - .map(t => t.url); - } else { - return null; - } - } - } + props: ['post'] });