DEV: Don't use two-way args of ChooseTopic (#197)

This commit is contained in:
Jarek Radosz
2024-05-28 15:56:58 +02:00
committed by GitHub
parent a8363fb2fa
commit 27af3e6368
2 changed files with 6 additions and 1 deletions
@@ -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;
}
}