DEV: Allow clearing topic ID when testing integration (#249)

This commit is contained in:
Sérgio Saquetim 2025-02-14 13:24:13 -03:00 committed by GitHub
parent 4e892a714b
commit 860cc6751e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -17,7 +17,10 @@
</label>
</td>
<td>
<ChooseTopic @topicChangedCallback={{this.newTopicSelected}} />
<ChooseTopic
@topicChangedCallback={{this.newTopicSelected}}
@selectedTopicId={{this.topicId}}
/>
</td>
</tr>
</tbody>

View File

@ -32,6 +32,6 @@ export default class TestIntegration extends Component {
@action
newTopicSelected(topic) {
this.topicId = topic.id;
this.topicId = topic?.id;
}
}