Reset value in env_var controller also based on public attr

When we switch from private to public env var, we don't want to set
"***********" as a new value of a var.
This commit is contained in:
Piotr Sarnacki 2014-08-19 19:42:08 +02:00
parent 46501b44dd
commit 6aa9771170

View File

@ -18,7 +18,7 @@ Travis.EnvVarController = Ember.ObjectController.extend Travis.Validations,
@get('model.value')
else
'••••••••••••••••'
).property('model.value')
).property('model.value', 'public')
actions:
delete: ->