summaryrefslogtreecommitdiff
path: root/src/client/app/common
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-06-08 21:17:48 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-06-08 21:17:48 +0900
commit2f3d744e19950b987305c57662f8f77f2a12f5f6 (patch)
tree970eafe26046975509c6c08412dfa9fda14d4e6e /src/client/app/common
parentRefactor (diff)
downloadmisskey-2f3d744e19950b987305c57662f8f77f2a12f5f6.tar.gz
misskey-2f3d744e19950b987305c57662f8f77f2a12f5f6.tar.bz2
misskey-2f3d744e19950b987305c57662f8f77f2a12f5f6.zip
:art:
Diffstat (limited to 'src/client/app/common')
-rw-r--r--src/client/app/common/views/components/note-header.vue7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/app/common/views/components/note-header.vue b/src/client/app/common/views/components/note-header.vue
index 611a14f73d..1f92a1d375 100644
--- a/src/client/app/common/views/components/note-header.vue
+++ b/src/client/app/common/views/components/note-header.vue
@@ -7,7 +7,7 @@
<span class="is-cat" v-if="note.user.isCat">cat</span>
<span class="username"><mk-acct :user="note.user"/></span>
<div class="info">
- <span class="app" v-if="note.app">via <b>{{ note.app.name }}</b></span>
+ <span class="app" v-if="note.app && !mini">via <b>{{ note.app.name }}</b></span>
<span class="mobile" v-if="note.viaMobile">%fa:mobile-alt%</span>
<router-link class="created-at" :to="note | notePage">
<mk-time :time="note.createdAt"/>
@@ -30,6 +30,11 @@ export default Vue.extend({
note: {
type: Object,
required: true
+ },
+ mini: {
+ type: Boolean,
+ required: false,
+ default: false
}
}
});