Skip to content

Commit 3e700ef

Browse files
committed
Fix command values not being shown
1 parent 48bfeb5 commit 3e700ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/playground.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@
485485
result += `<span class="description">
486486
${typeof command.command !== 'undefined' ? command.command : ''}
487487
${typeof command.property !== 'undefined' ? command.property + ': ' : ''}
488-
${typeof command.value === 'string' ? command.value : ''}
488+
${typeof command.value !== 'undefined' && typeof command.value !== 'object' ? command.value : ''}
489489
${typeof command.value === 'object' ? Object.entries(command.value).map(i => i[0] + ': ' + i[1]).join(', ') : ''}
490490
</span>`;
491491
}

0 commit comments

Comments
 (0)