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…
Reference in New Issue