Merge branch 'ent-11010-15353-elementos-de-la-consola-visual-no-se-refrescan' into 'develop'

fix refresh elements VC pandora_enterprise#11010

See merge request artica/pandorafms!5752
This commit is contained in:
Rafael Ameijeiras 2023-04-24 07:33:40 +00:00
commit 8bf8542676
3 changed files with 3 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -821,11 +821,7 @@ abstract class VisualConsoleItem<Props extends ItemProps> {
prevProps: Props | null = null,
prevMeta: ItemMeta | null = null
): void {
if (
prevProps &&
(prevProps.type == ItemType.LINE_ITEM ||
prevProps.type == ItemType.NETWORK_LINK)
) {
if (prevProps) {
this.updateDomElement(this.childElementRef);
}
// Move box.