UX: Clear username when opening ignore duration modal

UX: Clear username when opening ignore duration modal

diff --git a/app/assets/javascripts/discourse/components/ignored-user-list.js.es6 b/app/assets/javascripts/discourse/components/ignored-user-list.js.es6
index 9c951df..ac81cc5 100644
--- a/app/assets/javascripts/discourse/components/ignored-user-list.js.es6
+++ b/app/assets/javascripts/discourse/components/ignored-user-list.js.es6
@@ -20,6 +20,7 @@ export default Ember.Component.extend({
         model: this.model
       });
       modal.setProperties({
+        ignoredUsername: null,
         onUserIgnored: username => {
           this.items.addObject(username);
         }

GitHub sha: 922c40f8

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there: