#8596 Fixed image-item

This commit is contained in:
Daniel Maya 2022-03-17 16:37:43 +01:00
parent 02fe08903c
commit c2d60fafa9
6 changed files with 23 additions and 8 deletions

View File

@ -1469,7 +1469,7 @@ function linkedVisualConsoleTypeChange() {
function imageVCChange(baseUrl, vcId, only) {
var nameImg = document.getElementById("imageSrc").value;
if (nameImg == 0) {
$("#li-image-item").empty();
$("#li-image-item label").empty();
return;
}
@ -1503,8 +1503,8 @@ function imageVCChange(baseUrl, vcId, only) {
}
}
$("#li-image-item").empty();
$("#li-image-item").append(data);
$("#li-image-item label").empty();
$("#li-image-item label").append(data);
return;
};

View File

@ -399,7 +399,10 @@ class ModuleIconWidget extends Widget
'class' => 'flex-row flex-end w100p',
'direct' => 1,
'block_content' => [
['label' => $image],
[
'label' => $image,
'arguments' => ['type' => 'image-item'],
],
],
];

View File

@ -389,7 +389,10 @@ class ModuleStatusWidget extends Widget
'class' => 'flex-row flex-end w100p',
'direct' => 1,
'block_content' => [
['label' => $image],
[
'label' => $image,
'arguments' => ['type' => 'image-item'],
],
],
];

View File

@ -537,7 +537,10 @@ final class Group extends Item
'class' => 'flex-row flex-end w100p',
'direct' => 1,
'block_content' => [
['label' => $images],
[
'label' => $images,
'arguments' => ['type' => 'image-item'],
],
],
];

View File

@ -190,7 +190,10 @@ final class Icon extends Item
'class' => 'flex-row flex-end w100p',
'direct' => 1,
'block_content' => [
['label' => $images],
[
'label' => $images,
'arguments' => ['type' => 'image-item'],
],
],
];

View File

@ -351,7 +351,10 @@ final class StaticGraph extends Item
'class' => 'flex-row flex-end w100p',
'direct' => 1,
'block_content' => [
['label' => $images],
[
'label' => $images,
'arguments' => ['type' => 'image-item'],
],
],
];