mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	fix(frontend): ノートがログインしているユーザーしか見れない場合にログインをキャンセルした場合その後の動線がなくなる問題を修正 (#15101)
* fix(frontend): ノートがログインしているユーザーしか見れない場合にログインをキャンセルすると一切の処理が停止する問題を修正 * Update Changelog --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									074b7b0bee
								
							
						
					
					
						commit
						e8bf6285cb
					
				
					 2 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
					@ -6,6 +6,7 @@
 | 
				
			||||||
### Client
 | 
					### Client
 | 
				
			||||||
- Fix: 画面サイズが変わった際にナビゲーションバーが自動で折りたたまれない問題を修正
 | 
					- Fix: 画面サイズが変わった際にナビゲーションバーが自動で折りたたまれない問題を修正
 | 
				
			||||||
- Fix: サーバー情報メニューに区切り線が不足していたのを修正
 | 
					- Fix: サーバー情報メニューに区切り線が不足していたのを修正
 | 
				
			||||||
 | 
					- Fix: ノートがログインしているユーザーしか見れない場合にログインダイアログを閉じるとその後の動線がなくなる問題を修正
 | 
				
			||||||
- Fix: 公開範囲がホームのノートの埋め込みウィジェットが読み込まれない問題を修正  
 | 
					- Fix: 公開範囲がホームのノートの埋め込みウィジェットが読み込まれない問題を修正  
 | 
				
			||||||
  (Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/803)
 | 
					  (Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/803)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -50,6 +50,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
<script lang="ts" setup>
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { computed, watch, ref } from 'vue';
 | 
					import { computed, watch, ref } from 'vue';
 | 
				
			||||||
import * as Misskey from 'misskey-js';
 | 
					import * as Misskey from 'misskey-js';
 | 
				
			||||||
 | 
					import { host } from '@@/js/config.js';
 | 
				
			||||||
import type { Paging } from '@/components/MkPagination.vue';
 | 
					import type { Paging } from '@/components/MkPagination.vue';
 | 
				
			||||||
import MkNoteDetailed from '@/components/MkNoteDetailed.vue';
 | 
					import MkNoteDetailed from '@/components/MkNoteDetailed.vue';
 | 
				
			||||||
import MkNotes from '@/components/MkNotes.vue';
 | 
					import MkNotes from '@/components/MkNotes.vue';
 | 
				
			||||||
| 
						 | 
					@ -140,7 +141,12 @@ function fetchNote() {
 | 
				
			||||||
	}).catch(err => {
 | 
						}).catch(err => {
 | 
				
			||||||
		if (err.id === '8e75455b-738c-471d-9f80-62693f33372e') {
 | 
							if (err.id === '8e75455b-738c-471d-9f80-62693f33372e') {
 | 
				
			||||||
			pleaseLogin({
 | 
								pleaseLogin({
 | 
				
			||||||
 | 
									path: '/',
 | 
				
			||||||
				message: i18n.ts.thisContentsAreMarkedAsSigninRequiredByAuthor,
 | 
									message: i18n.ts.thisContentsAreMarkedAsSigninRequiredByAuthor,
 | 
				
			||||||
 | 
									openOnRemote: {
 | 
				
			||||||
 | 
										type: 'lookup',
 | 
				
			||||||
 | 
										url: `https://${host}/notes/${props.noteId}`,
 | 
				
			||||||
 | 
									},
 | 
				
			||||||
			});
 | 
								});
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		error.value = err;
 | 
							error.value = err;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue