summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2018-12-21 21:46:50 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2018-12-21 21:46:50 +0900
commit95c4e4497e8a2529f7757f3a7274ae3b9c5a1513 (patch)
tree806eb946febedbe0bc9945dab690ea5078f9891d /src
parent10.66.0 (diff)
downloadsharkey-95c4e4497e8a2529f7757f3a7274ae3b9c5a1513.tar.gz
sharkey-95c4e4497e8a2529f7757f3a7274ae3b9c5a1513.tar.bz2
sharkey-95c4e4497e8a2529f7757f3a7274ae3b9c5a1513.zip
Fix tag not found (#3710)
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/pages/tag.vue2
-rw-r--r--src/client/app/mobile/views/pages/tag.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/desktop/views/pages/tag.vue b/src/client/app/desktop/views/pages/tag.vue
index 29e26b6d06..6e5db18af0 100644
--- a/src/client/app/desktop/views/pages/tag.vue
+++ b/src/client/app/desktop/views/pages/tag.vue
@@ -3,7 +3,7 @@
<header :class="$style.header">
<h1>#{{ $route.params.tag }}</h1>
</header>
- <p :class="$style.empty" v-if="!fetching && empty"><fa icon="search"/> {{ $t('no-posts-found', { q }) }}</p>
+ <p :class="$style.empty" v-if="!fetching && empty"><fa icon="search"/> {{ $t('no-posts-found', { q: $route.params.tag }) }}</p>
<mk-notes ref="timeline" :class="$style.notes" :more="existMore ? more : null"/>
</mk-ui>
</template>
diff --git a/src/client/app/mobile/views/pages/tag.vue b/src/client/app/mobile/views/pages/tag.vue
index e0c9f64941..ecd523dab2 100644
--- a/src/client/app/mobile/views/pages/tag.vue
+++ b/src/client/app/mobile/views/pages/tag.vue
@@ -3,7 +3,7 @@
<span slot="header"><span style="margin-right:4px;"><fa icon="hashtag"/></span>{{ $route.params.tag }}</span>
<main>
- <p v-if="!fetching && empty"><fa icon="search"/> {{ $t('no-posts-found', { q }) }}</p>
+ <p v-if="!fetching && empty"><fa icon="search"/> {{ $t('no-posts-found', { q: $route.params.tag }) }}</p>
<mk-notes ref="timeline" :more="existMore ? more : null"/>
</main>
</mk-ui>