From e1984e3991d5e8ecf4cce89e74c54b03b0ad5fd9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 4 Mar 2018 14:33:39 +0900 Subject: [PATCH] :v: --- src/web/app/mobile/views/components/index.ts | 2 + .../mobile/views/components/notification.vue | 159 +++++++----------- .../{posts.post.sub.vue => post.sub.vue} | 0 .../components/{posts.post.vue => post.vue} | 2 +- src/web/app/mobile/views/components/posts.vue | 6 +- 5 files changed, 68 insertions(+), 101 deletions(-) rename src/web/app/mobile/views/components/{posts.post.sub.vue => post.sub.vue} (100%) rename src/web/app/mobile/views/components/{posts.post.vue => post.vue} (99%) diff --git a/src/web/app/mobile/views/components/index.ts b/src/web/app/mobile/views/components/index.ts index fe65aab207..19135d08dc 100644 --- a/src/web/app/mobile/views/components/index.ts +++ b/src/web/app/mobile/views/components/index.ts @@ -2,6 +2,7 @@ import Vue from 'vue'; import ui from './ui.vue'; import timeline from './timeline.vue'; +import post from './post.vue'; import posts from './posts.vue'; import imagesImage from './images-image.vue'; import drive from './drive.vue'; @@ -23,6 +24,7 @@ import widgetContainer from './widget-container.vue'; Vue.component('mk-ui', ui); Vue.component('mk-timeline', timeline); +Vue.component('mk-post', post); Vue.component('mk-posts', posts); Vue.component('mk-images-image', imagesImage); Vue.component('mk-drive', drive); diff --git a/src/web/app/mobile/views/components/notification.vue b/src/web/app/mobile/views/components/notification.vue index 2a0e5c117f..506ce3493b 100644 --- a/src/web/app/mobile/views/components/notification.vue +++ b/src/web/app/mobile/views/components/notification.vue @@ -1,8 +1,7 @@ @@ -117,73 +92,67 @@ export default Vue.extend({ diff --git a/src/web/app/mobile/views/components/posts.post.sub.vue b/src/web/app/mobile/views/components/post.sub.vue similarity index 100% rename from src/web/app/mobile/views/components/posts.post.sub.vue rename to src/web/app/mobile/views/components/post.sub.vue diff --git a/src/web/app/mobile/views/components/posts.post.vue b/src/web/app/mobile/views/components/post.vue similarity index 99% rename from src/web/app/mobile/views/components/posts.post.vue rename to src/web/app/mobile/views/components/post.vue index d0a897db65..4c8937f516 100644 --- a/src/web/app/mobile/views/components/posts.post.vue +++ b/src/web/app/mobile/views/components/post.vue @@ -77,7 +77,7 @@ import Vue from 'vue'; import MkPostMenu from '../../../common/views/components/post-menu.vue'; import MkReactionPicker from '../../../common/views/components/reaction-picker.vue'; -import XSub from './posts.post.sub.vue'; +import XSub from './post.sub.vue'; export default Vue.extend({ components: { diff --git a/src/web/app/mobile/views/components/posts.vue b/src/web/app/mobile/views/components/posts.vue index 9a9f9a3133..7e71fa0982 100644 --- a/src/web/app/mobile/views/components/posts.vue +++ b/src/web/app/mobile/views/components/posts.vue @@ -3,7 +3,7 @@