1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-14 13:25:48 +02:00
This commit is contained in:
syuilo
2018-02-22 03:11:24 +09:00
parent 937b6539e0
commit 5daae05bcf
8 changed files with 30 additions and 7 deletions

View File

@@ -78,7 +78,7 @@ export default Vue.extend({
search() {
const query = window.prompt('%i18n:mobile.tags.mk-ui-nav.search%');
if (query == null || query == '') return;
this.page('/search?q=' + encodeURIComponent(query));
this.$router.push('/search?q=' + encodeURIComponent(query));
},
onReadAllNotifications() {
this.hasUnreadNotifications = false;

View File

@@ -14,6 +14,7 @@
<script lang="ts">
import Vue from 'vue';
import MkNotify from './notify.vue';
import XHeader from './ui.header.vue';
import XNav from './ui.nav.vue';