fix refresh elements VC pandora_enterprise#11010

This commit is contained in:
daniel 2023-04-20 13:23:13 +02:00
parent f8fe057459
commit 70c18d9605
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, prevProps: Props | null = null,
prevMeta: ItemMeta | null = null prevMeta: ItemMeta | null = null
): void { ): void {
if ( if (prevProps) {
prevProps &&
(prevProps.type == ItemType.LINE_ITEM ||
prevProps.type == ItemType.NETWORK_LINK)
) {
this.updateDomElement(this.childElementRef); this.updateDomElement(this.childElementRef);
} }
// Move box. // Move box.