mirror of
https://github.com/discourse/discourse-chat-integration.git
synced 2025-06-29 10:42:12 +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>
|
</label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<ChooseTopic @topicChangedCallback={{this.newTopicSelected}} />
|
<ChooseTopic
|
||||||
|
@topicChangedCallback={{this.newTopicSelected}}
|
||||||
|
@selectedTopicId={{this.topicId}}
|
||||||
|
/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -32,6 +32,6 @@ export default class TestIntegration extends Component {
|
|||||||
|
|
||||||
@action
|
@action
|
||||||
newTopicSelected(topic) {
|
newTopicSelected(topic) {
|
||||||
this.topicId = topic.id;
|
this.topicId = topic?.id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user