1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

aligin start of property error tooltip messages

This commit is contained in:
Hiroyasu Nishiyama 2022-01-15 13:11:56 +09:00
parent 943b103001
commit a2c9458b1b

View File

@ -596,7 +596,7 @@ RED.view = (function() {
}, },
tooltip: function(d) { tooltip: function(d) {
if (d.validationErrors && d.validationErrors.length > 0) { if (d.validationErrors && d.validationErrors.length > 0) {
return RED._("editor.errors.invalidProperties")+"\n - "+d.validationErrors.join("\n - ") return RED._("editor.errors.invalidProperties")+"\n - "+d.validationErrors.join("\n - ")
} }
}, },
show: function(n) { return !n.valid } show: function(n) { return !n.valid }