mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
reverse overide behaviour on file, http and email. Node properties now
have priority. Warn user if msg.property tries to override. Warning should be removed at next major verion bump.
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
align: "right",
|
||||
label: function() {
|
||||
if (this.overwriteFile === "delete") { return this.name||"delete "+this.filename; }
|
||||
else { return this.name||this.filename; }
|
||||
else { return this.name||this.filename||"file"; }
|
||||
},
|
||||
labelStyle: function() {
|
||||
return this.name?"node_label_italic":"";
|
||||
@@ -110,7 +110,7 @@
|
||||
outputs:1,
|
||||
icon: "file.png",
|
||||
label: function() {
|
||||
return this.name||this.filename;
|
||||
return this.name||this.filename||"file";
|
||||
},
|
||||
labelStyle: function() {
|
||||
return this.name?"node_label_italic":"";
|
||||
|
Reference in New Issue
Block a user