Skip to content

Commit

Permalink
fix: make event delete & transfer confirmation modal case sensitive (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 authored Feb 14, 2020
1 parent 6e3f54c commit 34aa38b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/components/modals/event-delete-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ export default ModalBase.extend({
isSmall : true,
confirmName : '',
isNameDifferent : computed('confirmName', function() {
return this.eventName ? this.confirmName.toLowerCase() !== this.eventName.toLowerCase() : true;
return this.eventName ? this.confirmName !== this.eventName : true;
})
});
2 changes: 1 addition & 1 deletion app/components/modals/event-transfer-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ export default ModalBase.extend({
isSmall : true,
confirmEventName : '',
isNameDifferent : computed('confirmEventName', 'eventName', function() {
return this.eventName ? this.confirmEventName.toLowerCase() !== this.eventName.toLowerCase() : true;
return this.eventName ? this.confirmEventName !== this.eventName : true;
})
});

0 comments on commit 34aa38b

Please sign in to comment.