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) {
|
if (originalLength === undefined) {
|
||||||
originalLength = data.length;
|
originalLength = data.length;
|
||||||
}
|
}
|
||||||
|
if (data.__encoded__) {
|
||||||
|
data = data.data;
|
||||||
|
}
|
||||||
type = obj.type.toLowerCase();
|
type = obj.type.toLowerCase();
|
||||||
} else if (/buffer/.test(typeHint)) {
|
} else if (/buffer/.test(typeHint)) {
|
||||||
type = 'buffer';
|
type = 'buffer';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user