fix: [eventGraph:picture] Take correct Attribute picture's name

pull/5767/head
mokaddem 2020-03-27 14:48:40 +01:00
parent 9b33476eed
commit 844ed9d1b8
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -766,7 +766,7 @@ class EventGraph {
group: group,
mass: 5,
};
if (node.type == 'attachment' && isPicture(node.value)) {
if (node.type == 'attachment' && isPicture(node.label)) {
// fetch picture via attributes/viewPicture
node_conf.group = 'attribute_image';
node_conf.size = $('#slider_display_picture_size').val();