From 27af3e63682e22b6826b29167fdf7d9b0aeeb602 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Tue, 28 May 2024 15:56:58 +0200 Subject: [PATCH] DEV: Don't use two-way args of ChooseTopic (#197) --- .../javascripts/admin/components/modal/test-integration.hbs | 2 +- .../javascripts/admin/components/modal/test-integration.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/admin/assets/javascripts/admin/components/modal/test-integration.hbs b/admin/assets/javascripts/admin/components/modal/test-integration.hbs index 7d388e3..717910c 100644 --- a/admin/assets/javascripts/admin/components/modal/test-integration.hbs +++ b/admin/assets/javascripts/admin/components/modal/test-integration.hbs @@ -17,7 +17,7 @@ - + diff --git a/admin/assets/javascripts/admin/components/modal/test-integration.js b/admin/assets/javascripts/admin/components/modal/test-integration.js index 0c0253d..ecaff16 100644 --- a/admin/assets/javascripts/admin/components/modal/test-integration.js +++ b/admin/assets/javascripts/admin/components/modal/test-integration.js @@ -29,4 +29,9 @@ export default class TestIntegration extends Component { popupAjaxError(e); } } + + @action + newTopicSelected(topic) { + this.topicId = topic.id; + } }