mirror of
https://github.com/discourse/discourse-chat-integration.git
synced 2025-03-06 09:49:28 +00:00
DEV: Allow clearing topic ID when testing integration (#249)
This commit is contained in:
parent
4e892a714b
commit
860cc6751e
@ -17,7 +17,10 @@
|
||||
</label>
|
||||
</td>
|
||||
<td>
|
||||
<ChooseTopic @topicChangedCallback={{this.newTopicSelected}} />
|
||||
<ChooseTopic
|
||||
@topicChangedCallback={{this.newTopicSelected}}
|
||||
@selectedTopicId={{this.topicId}}
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -32,6 +32,6 @@ export default class TestIntegration extends Component {
|
||||
|
||||
@action
|
||||
newTopicSelected(topic) {
|
||||
this.topicId = topic.id;
|
||||
this.topicId = topic?.id;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user