From ee5f842d5109de8aae74876922227103434405a8 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Wed, 13 Jan 2016 11:16:44 +0100 Subject: [PATCH] Fix adding ssh key --- app/components/add-ssh-key.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/add-ssh-key.js b/app/components/add-ssh-key.js index fce4371d..67a0f152 100644 --- a/app/components/add-ssh-key.js +++ b/app/components/add-ssh-key.js @@ -62,7 +62,8 @@ export default Ember.Component.extend({ } this.set('isSaving', true); if (this.isValid()) { - ssh_key = this.get('model').setProperties({ + ssh_key = this.get('model') + ssh_key.setProperties({ description: this.get('description'), value: this.get('value') });