Skip to content

Commit 2c19550

Browse files
committed
fix: component reference for build
1 parent ef3ac22 commit 2c19550

File tree

7 files changed

+6
-7
lines changed

7 files changed

+6
-7
lines changed

client/dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@
4545
</div>
4646
</div>
4747
</app-root>
48-
<script src="runtime.8ef63094e52a66ba.js" type="module"></script><script src="polyfills.2696a6f9dc75535e.js" type="module"></script><script src="scripts.1c3385254ff4c93c.js" defer></script><script src="main.69729293c76d5d96.js" type="module"></script>
48+
<script src="runtime.8ef63094e52a66ba.js" type="module"></script><script src="polyfills.2696a6f9dc75535e.js" type="module"></script><script src="scripts.1c3385254ff4c93c.js" defer></script><script src="main.d0bdf84f4ef22bcd.js" type="module"></script>
4949

5050
</body></html>

client/dist/main.69729293c76d5d96.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

client/dist/main.d0bdf84f4ef22bcd.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fuxa",
3-
"version": "1.1.19-1592",
3+
"version": "1.1.19-1593",
44
"keywords": [],
55
"author": "frangoteam <[email protected]>",
66
"description": "Web-based Process Visualization (SCADA/HMI/Dashboard) software",

client/src/app/gauges/controls/html-select/html-select.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export class HtmlSelectComponent extends GaugeBaseComponent {
124124
option.innerHTML = 'Choose...';
125125
select.appendChild(option);
126126
} else {
127-
ga.property.ranges.forEach(element => {
127+
ga.property?.ranges?.forEach(element => {
128128
let option = document.createElement('option');
129129
option.value = element.min;
130130
if (element.text) {

client/src/app/gauges/gauge-property/flex-event/flex-event.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import { Script, ScriptParam, SCRIPT_PARAMS_MAP } from '../../../_models/script'
1616
import { Utils } from '../../../_helpers/utils';
1717
import { HtmlInputComponent } from '../../controls/html-input/html-input.component';
1818
import { HtmlSelectComponent } from '../../controls/html-select/html-select.component';
19-
import { PanelComponent } from '../../controls/panel/panel.component';
2019

2120

2221
@Component({
@@ -60,7 +59,7 @@ export class FlexEventComponent implements OnInit {
6059
this.eventType[Utils.getEnumKey(GaugeEventType, GaugeEventType.mousedown)] = this.translateService.instant(GaugeEventType.mousedown);
6160
this.eventType[Utils.getEnumKey(GaugeEventType, GaugeEventType.mouseup)] = this.translateService.instant(GaugeEventType.mouseup);
6261
}
63-
this.viewPanels = <PanelData[]>Object.values(this.data.view?.items ?? [])?.filter((item: any) => item.type === PanelComponent.TypeTag);
62+
this.viewPanels = <PanelData[]>Object.values(this.data.view?.items ?? [])?.filter((item: any) => item.type === 'svg-ext-own_ctrl-panel');//#issue on build PanelComponent.TypeTag);
6463
this.enterActionType[Utils.getEnumKey(GaugeEventActionType, GaugeEventActionType.onRunScript)] = this.translateService.instant(GaugeEventActionType.onRunScript);
6564

6665
Object.keys(this.actionType).forEach(key => {

server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fuxa-server",
3-
"version": "1.1.19-1592",
3+
"version": "1.1.19-1593",
44
"description": "Web-based Process Visualization (SCADA/HMI/Dashboard) software",
55
"main": "main.js",
66
"scripts": {

0 commit comments

Comments
 (0)