mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Setting defaults with credentials fields persists them in the flows file. Fixed.
This commit is contained in:
parent
17a040adfe
commit
243fc9ffd4
@ -80,10 +80,6 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
RED.nodes.registerType("awscredentials", {
|
RED.nodes.registerType("awscredentials", {
|
||||||
category: "config",
|
category: "config",
|
||||||
defaults: {
|
|
||||||
accessKey: { value: "", required: true },
|
|
||||||
secretAccessKey: { value: "", required: true }
|
|
||||||
},
|
|
||||||
label: function() {
|
label: function() {
|
||||||
return this.accessKey;
|
return this.accessKey;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user