mirror of
https://github.com/discourse/discourse.git
synced 2025-06-18 09:52:30 +08:00
UX: Clear username when opening ignore duration modal
This commit is contained in:
@ -20,6 +20,7 @@ export default Ember.Component.extend({
|
|||||||
model: this.model
|
model: this.model
|
||||||
});
|
});
|
||||||
modal.setProperties({
|
modal.setProperties({
|
||||||
|
ignoredUsername: null,
|
||||||
onUserIgnored: username => {
|
onUserIgnored: username => {
|
||||||
this.items.addObject(username);
|
this.items.addObject(username);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user