From 9bfb3ec4b267f0d8ac8fffd0ce58dc1c6c24c555 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Thu, 2 Dec 2021 14:27:50 +0000 Subject: [PATCH] FIX: Ensure edit modal validation works on first opening (#96) (Ember's `defineProperty` no longer sees to fire the notifyPropertyChange event, so we need to do it manually) --- .../modals/admin-plugins-chat-integration-edit-channel.js.es6 | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-edit-channel.js.es6 b/assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-edit-channel.js.es6 index a626c09..86fb8fd 100644 --- a/assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-edit-channel.js.es6 +++ b/assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-edit-channel.js.es6 @@ -31,6 +31,7 @@ export default Ember.Controller.extend(ModalFunctionality, { this._paramValidation ) ); + this.notifyPropertyChange("paramValidation"); } },