mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Visual Console Client: minor fixes
Former-commit-id: 62a0a7f33c65a0d9a2ee3be9cb15613d6664a06f
This commit is contained in:
parent
56f15f0369
commit
e97ee485ef
@ -224,7 +224,7 @@ abstract class VisualConsoleItem<ItemProps extends VisualConsoleItemProps> {
|
||||
this.elementRef.style.height = `${this.props.height}px`;
|
||||
}
|
||||
|
||||
this.childElementRef.replaceWith(this.createDomElement());
|
||||
this.childElementRef.innerHTML = this.createDomElement().innerHTML;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -84,7 +84,7 @@ if (container != null) {
|
||||
|
||||
const digitalClockRawProps = {
|
||||
// Generic props.
|
||||
id: 2,
|
||||
id: 3,
|
||||
type: 19, // clock = 19
|
||||
label: null,
|
||||
isLinkEnabled: false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user