fix(client): ピン留めユーザーの設定項目がない問題を修正
This commit is contained in:
		
							parent
							
								
									c33e93c662
								
							
						
					
					
						commit
						46424f63f2
					
				|  | @ -16,6 +16,7 @@ | |||
| - クライアント: MFM関数構文のサジェストを実装 | ||||
| - クライアント: 未読の通知のみ表示する機能 | ||||
| - クライアント: 通知ページで通知の種類によるフィルタ | ||||
| - クライアント: ピン留めユーザーの設定項目がない問題を修正 | ||||
| - ActivityPub: HTML -> MFMの変換を強化 | ||||
| - API: i/notifications に unreadOnly オプションを追加 | ||||
| - API: ap系のエンドポイントをログイン必須化+レートリミット追加 | ||||
|  |  | |||
|  | @ -38,6 +38,11 @@ | |||
| 			<span>{{ $ts.maintainerEmail }}</span> | ||||
| 		</FormInput> | ||||
| 
 | ||||
| 		<FormTextarea v-model="pinnedUsers"> | ||||
| 			<span>{{ $ts.pinnedUsers }}</span> | ||||
| 			<template #desc>{{ $ts.pinnedUsersDescription }}</template> | ||||
| 		</FormTextarea> | ||||
| 
 | ||||
| 		<FormInput v-model="maxNoteTextLength" type="number"> | ||||
| 			<template #prefix><i class="fas fa-pencil-alt"></i></template> | ||||
| 			<span>{{ $ts.maxNoteTextLength }}</span> | ||||
|  | @ -98,6 +103,7 @@ export default defineComponent({ | |||
| 			maxNoteTextLength: 0, | ||||
| 			enableLocalTimeline: false, | ||||
| 			enableGlobalTimeline: false, | ||||
| 			pinnedUsers: '', | ||||
| 		} | ||||
| 	}, | ||||
| 
 | ||||
|  | @ -119,6 +125,7 @@ export default defineComponent({ | |||
| 			this.maxNoteTextLength = meta.maxNoteTextLength; | ||||
| 			this.enableLocalTimeline = !meta.disableLocalTimeline; | ||||
| 			this.enableGlobalTimeline = !meta.disableGlobalTimeline; | ||||
| 			this.pinnedUsers = meta.pinnedUsers.join('\n'); | ||||
| 		}, | ||||
| 
 | ||||
| 		save() { | ||||
|  | @ -134,6 +141,7 @@ export default defineComponent({ | |||
| 				maxNoteTextLength: this.maxNoteTextLength, | ||||
| 				disableLocalTimeline: !this.enableLocalTimeline, | ||||
| 				disableGlobalTimeline: !this.enableGlobalTimeline, | ||||
| 				pinnedUsers: this.pinnedUsers.split('\n'), | ||||
| 			}).then(() => { | ||||
| 				fetchInstance(); | ||||
| 			}); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue