This commit is contained in:
syuilo
2021-04-10 23:52:45 +09:00
parent 5087a5af21
commit f44517f4af
5 changed files with 98 additions and 40 deletions

View File

@@ -45,7 +45,6 @@ import MkRemoteCaution from '@client/components/remote-caution.vue';
import MkButton from '@client/components/ui/button.vue';
import * as os from '@client/os';
import * as symbols from '@client/symbols';
import { url } from '@client/config';
export default defineComponent({
components: {
@@ -66,10 +65,10 @@ export default defineComponent({
[symbols.PAGE_INFO]: computed(() => this.note ? {
title: this.$ts.note,
avatar: this.note.user,
path: `/notes/${this.note.id}`,
share: {
title: this.$t('noteOf', { user: this.note.user.name }),
text: this.note.text,
url: `${url}/notes/${this.note.id}`
},
} : null),
note: null,