mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Display buffer data properly for truncated buffers under Object property
This commit is contained in:
parent
c794ca85fd
commit
0646b0060e
@ -146,6 +146,9 @@ RED.utils = (function() {
|
||||
if (originalLength === undefined) {
|
||||
originalLength = data.length;
|
||||
}
|
||||
if (data.__encoded__) {
|
||||
data = data.data;
|
||||
}
|
||||
type = obj.type.toLowerCase();
|
||||
} else if (/buffer/.test(typeHint)) {
|
||||
type = 'buffer';
|
||||
|
Loading…
Reference in New Issue
Block a user