DEV: Don't use two-way args of ChooseTopic (#197)
This commit is contained in:
parent
a8363fb2fa
commit
27af3e6368
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue