DEV: Don't use two-way args of ChooseTopic (#197)
This commit is contained in:
parent
a8363fb2fa
commit
27af3e6368
|
@ -17,7 +17,7 @@
|
||||||
</label>
|
</label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<ChooseTopic @selectedTopicId={{this.topicId}} />
|
<ChooseTopic @topicChangedCallback={{this.newTopicSelected}} />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -29,4 +29,9 @@ export default class TestIntegration extends Component {
|
||||||
popupAjaxError(e);
|
popupAjaxError(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@action
|
||||||
|
newTopicSelected(topic) {
|
||||||
|
this.topicId = topic.id;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue