Fix: Channel 投稿を削除編集すると Channel 外に投稿されるのを修正 (#6707)
This commit is contained in:
		
							parent
							
								
									df71dbb024
								
							
						
					
					
						commit
						c1f6d996f6
					
				
					 2 changed files with 7 additions and 2 deletions
				
			
		|  | @ -551,7 +551,7 @@ export default Vue.extend({ | ||||||
| 					noteId: this.appearNote.id | 					noteId: this.appearNote.id | ||||||
| 				}); | 				}); | ||||||
| 
 | 
 | ||||||
| 				this.$root.post({ initialNote: this.appearNote, renote: this.appearNote.renote, reply: this.appearNote.reply }); | 				this.$root.post({ initialNote: this.appearNote, renote: this.appearNote.renote, reply: this.appearNote.reply, channel: this.appearNote.channel }); | ||||||
| 			}); | 			}); | ||||||
| 		}, | 		}, | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -16,6 +16,7 @@ | ||||||
| 				:initial-text="initialText" | 				:initial-text="initialText" | ||||||
| 				:initial-note="initialNote" | 				:initial-note="initialNote" | ||||||
| 				:instant="instant" | 				:instant="instant" | ||||||
|  | 				:channel="channel" | ||||||
| 				@posted="onPosted" | 				@posted="onPosted" | ||||||
| 				@cancel="onCanceled" | 				@cancel="onCanceled" | ||||||
| 				style="border-radius: var(--radius);"/> | 				style="border-radius: var(--radius);"/> | ||||||
|  | @ -62,7 +63,11 @@ export default Vue.extend({ | ||||||
| 			type: Boolean, | 			type: Boolean, | ||||||
| 			required: false, | 			required: false, | ||||||
| 			default: false | 			default: false | ||||||
| 		} | 		}, | ||||||
|  | 		channel: { | ||||||
|  | 			type: Object, | ||||||
|  | 			required: false | ||||||
|  | 		}, | ||||||
| 	}, | 	}, | ||||||
| 
 | 
 | ||||||
| 	data() { | 	data() { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue