mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
UX: Clear username when opening ignore duration modal
This commit is contained in:
parent
90108b2450
commit
922c40f87c
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ export default Ember.Component.extend({
|
|||
model: this.model
|
||||
});
|
||||
modal.setProperties({
|
||||
ignoredUsername: null,
|
||||
onUserIgnored: username => {
|
||||
this.items.addObject(username);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue