mirror of
https://github.com/discourse/discourse-chat-integration.git
synced 2025-02-08 04:28:25 +00:00
DEV: Don't use two-way args of ChooseTopic (#197)
This commit is contained in:
parent
a8363fb2fa
commit
27af3e6368
@ -17,7 +17,7 @@
|
||||
</label>
|
||||
</td>
|
||||
<td>
|
||||
<ChooseTopic @selectedTopicId={{this.topicId}} />
|
||||
<ChooseTopic @topicChangedCallback={{this.newTopicSelected}} />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -29,4 +29,9 @@ export default class TestIntegration extends Component {
|
||||
popupAjaxError(e);
|
||||
}
|
||||
}
|
||||
|
||||
@action
|
||||
newTopicSelected(topic) {
|
||||
this.topicId = topic.id;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user