Visual Console Client: minor fixes

Former-commit-id: 62a0a7f33c65a0d9a2ee3be9cb15613d6664a06f
This commit is contained in:
Alejandro Gallardo Escobar 2019-02-27 10:25:19 +01:00
parent 56f15f0369
commit e97ee485ef
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}
/**

View File

@ -84,7 +84,7 @@ if (container != null) {
const digitalClockRawProps = {
// Generic props.
id: 2,
id: 3,
type: 19, // clock = 19
label: null,
isLinkEnabled: false,