Need to retain the accessKey defaults to be able to show them in the UI
This commit is contained in:
parent
4e20f70bfd
commit
5342637132
|
@ -31,6 +31,9 @@
|
||||||
label: function() {
|
label: function() {
|
||||||
return this.accessKey;
|
return this.accessKey;
|
||||||
},
|
},
|
||||||
|
defaults: {
|
||||||
|
accessKey: { value: "", required: true }
|
||||||
|
},
|
||||||
oneditprepare: function() {
|
oneditprepare: function() {
|
||||||
$.getJSON("aws-credentials/" + this.id, function(data) {
|
$.getJSON("aws-credentials/" + this.id, function(data) {
|
||||||
if (data.accessKey) {
|
if (data.accessKey) {
|
||||||
|
|
Loading…
Reference in New Issue