1
0
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:
Nick O'Leary 2017-01-16 17:43:39 +00:00
parent c794ca85fd
commit 0646b0060e
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -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';