Skip to content

Commit

Permalink
On coupon edit and publish, always showing null on multiple edits
Browse files Browse the repository at this point in the history
  • Loading branch information
madnihamza1841 authored May 18, 2022
1 parent 78a9ac9 commit 239a35a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecommerce/static/js/views/coupon_detail_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ define([
},

formatLastEditedData: function(lastEdited) {
return _s.sprintf('%s - %s', lastEdited[0], this.formatDateTime(lastEdited[1]));
return _s.sprintf('%s', this.formatDateTime(lastEdited[1]));
},

discountValue: function() {
Expand Down

0 comments on commit 239a35a

Please sign in to comment.