@flexem/fc-gui 3.0.0-alpha.68 → 3.0.0-alpha.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -1
- package/bundles/@flexem/fc-gui.umd.js +2 -1
- package/bundles/@flexem/fc-gui.umd.js.map +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js.map +1 -1
- package/elements/alarm/alarm-element.js +2 -1
- package/model/alarm/alarm.model.d.ts +1 -1
- package/package.json +1 -1
|
@@ -142,6 +142,7 @@ export class AlarmElement extends ConditionalDisplayElement {
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
renderElement() {
|
|
145
|
+
this.rootElement.selectAll('*').remove();
|
|
145
146
|
const elementHeight = this.model.size.height;
|
|
146
147
|
this.element = document.createElementNS('http://www.w3.org/2000/svg', 'foreignObject');
|
|
147
148
|
this.element.setAttribute('width', this.model.size.width.toString());
|
|
@@ -168,7 +169,7 @@ export class AlarmElement extends ConditionalDisplayElement {
|
|
|
168
169
|
vertical-align: middle;`;
|
|
169
170
|
for (let i = 0; i < 4; i++) {
|
|
170
171
|
const th = document.createElement('th');
|
|
171
|
-
th.innerHTML = this.model.
|
|
172
|
+
th.innerHTML = this.model.columLabels[i];
|
|
172
173
|
th.style.cssText = `width: ${this.model.widths[i] / this.model.size.width * 100}%;
|
|
173
174
|
border-style: solid;
|
|
174
175
|
border-color: ${this.model.generalSetting.splitLine};
|