Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
if model is already created its button should say update
Browse files Browse the repository at this point in the history
squash! if model is new it button should say update
  • Loading branch information
billybonks committed Jul 6, 2016
1 parent 3f68afb commit 9fef692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/patients/photo/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default Ember.Controller.extend({
if (isNew) {
return this.get('i18n').t('buttons.add');
} else {
return this.get('i18n').t('buttons.add');
return this.get('i18n').t('buttons.update');
}
}.property('model.isNew'),

Expand Down

0 comments on commit 9fef692

Please sign in to comment.