summaryrefslogtreecommitdiff
path: root/packages/frontend/src
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2025-09-16 11:53:20 +0900
committerGitHub <noreply@github.com>2025-09-16 11:53:20 +0900
commite504560477db3faec94ee0ecceb10fd3b8b7816c (patch)
treee6ea9069f8a2a935de3e0be9781787beec0ba4d8 /packages/frontend/src
parentenhance(backend): 初期設定をスキップした場合の初期状態ポ... (diff)
downloadmisskey-e504560477db3faec94ee0ecceb10fd3b8b7816c.tar.gz
misskey-e504560477db3faec94ee0ecceb10fd3b8b7816c.tar.bz2
misskey-e504560477db3faec94ee0ecceb10fd3b8b7816c.zip
fix: サーバー設定によりコンテンツの閲覧が制限されている場合のメッセージを区別するように (#16527)
Diffstat (limited to 'packages/frontend/src')
-rw-r--r--packages/frontend/src/pages/note.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/pages/note.vue b/packages/frontend/src/pages/note.vue
index abd2a5d8a1..c93ec4272a 100644
--- a/packages/frontend/src/pages/note.vue
+++ b/packages/frontend/src/pages/note.vue
@@ -136,10 +136,10 @@ function fetchNote() {
});
}
}).catch(err => {
- if (err.id === '8e75455b-738c-471d-9f80-62693f33372e') {
+ if (['fbcc002d-37d9-4944-a6b0-d9e29f2d33ab', '145f88d2-b03d-4087-8143-a78928883c4b'].includes(err.id)) {
pleaseLogin({
path: '/',
- message: i18n.ts.thisContentsAreMarkedAsSigninRequiredByAuthor,
+ message: err.id === 'fbcc002d-37d9-4944-a6b0-d9e29f2d33ab' ? i18n.ts.thisContentsAreMarkedAsSigninRequiredByAuthor : i18n.ts.signinOrContinueOnRemote,
openOnRemote: {
type: 'lookup',
url: `https://${host}/notes/${props.noteId}`,