mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
Fix: Replacing custom gif image results in old gif appearing in admin… (#4199)
* Fix: Replacing custom gif image results in old gif appearing in admin page * refactor as per the review comment
This commit is contained in:
parent
d59106cb15
commit
6c5548c2e4
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@ export default Ember.ArrayController.extend({
|
|||
|
||||
actions: {
|
||||
emojiUploaded(emoji) {
|
||||
this.pushObject(Em.Object.create(emoji));
|
||||
emoji.url += "?t=" + new Date().getTime();
|
||||
this.pushObject(Ember.Object.create(emoji));
|
||||
},
|
||||
|
||||
destroy(emoji) {
|
||||
|
|
Loading…
Reference in a new issue