fix(client): ノートの「削除して編集」をするとアンケートの選択肢が[object Object]になる問題を修正
Fix #7037
This commit is contained in:
		
							parent
							
								
									fcdd042b02
								
							
						
					
					
						commit
						47dd30d3b2
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		|  | @ -17,6 +17,7 @@ | |||
| 
 | ||||
| ### Bugfixes | ||||
| - チャンネルを作成しているとアカウントを削除できないのを修正 | ||||
| - ノートの「削除して編集」をするとアンケートの選択肢が[object Object]になる問題を修正 | ||||
| 
 | ||||
| ## 12.88.0 (2021/08/17) | ||||
| 
 | ||||
|  |  | |||
|  | @ -339,7 +339,12 @@ export default defineComponent({ | |||
| 				this.cw = init.cw; | ||||
| 				this.useCw = init.cw != null; | ||||
| 				if (init.poll) { | ||||
| 					this.poll = init.poll; | ||||
| 					this.poll = { | ||||
| 						choices: init.poll.choices.map(x => x.text), | ||||
| 						multiple: init.poll.multiple, | ||||
| 						expiresAt: init.poll.expiresAt, | ||||
| 						expiredAfter: init.poll.expiredAfter, | ||||
| 					}; | ||||
| 				} | ||||
| 				this.visibility = init.visibility; | ||||
| 				this.localOnly = init.localOnly; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue