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
|
@ -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 New Issue