検索のタイトルが変更されない問題を修正 (#7062)

This commit is contained in:
sobadon 2021-01-07 12:21:34 +09:00 committed by GitHub
parent d54f71774e
commit 62ac3400da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent } from 'vue'; import { computed, defineComponent } from 'vue';
import { faSearch } from '@fortawesome/free-solid-svg-icons'; import { faSearch } from '@fortawesome/free-solid-svg-icons';
import Progress from '@/scripts/loading'; import Progress from '@/scripts/loading';
import XNotes from '@/components/notes.vue'; import XNotes from '@/components/notes.vue';
@ -20,7 +20,7 @@ export default defineComponent({
data() { data() {
return { return {
INFO: { INFO: {
title: this.$t('searchWith', { q: this.$route.query.q }), title: computed(() => this.$t('searchWith', { q: this.$route.query.q })),
icon: faSearch icon: faSearch
}, },
pagination: { pagination: {