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