Skip to content

Commit

Permalink
fix: component reference for build
Browse files Browse the repository at this point in the history
  • Loading branch information
unocelli committed May 12, 2024
1 parent ef3ac22 commit 2c19550
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion client/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
</div>
</div>
</app-root>
<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>
<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>

</body></html>
1 change: 0 additions & 1 deletion client/dist/main.69729293c76d5d96.js

This file was deleted.

1 change: 1 addition & 0 deletions client/dist/main.d0bdf84f4ef22bcd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fuxa",
"version": "1.1.19-1592",
"version": "1.1.19-1593",
"keywords": [],
"author": "frangoteam <4frango@gmail.com>",
"description": "Web-based Process Visualization (SCADA/HMI/Dashboard) software",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class HtmlSelectComponent extends GaugeBaseComponent {
option.innerHTML = 'Choose...';
select.appendChild(option);
} else {
ga.property.ranges.forEach(element => {
ga.property?.ranges?.forEach(element => {
let option = document.createElement('option');
option.value = element.min;
if (element.text) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { Script, ScriptParam, SCRIPT_PARAMS_MAP } from '../../../_models/script'
import { Utils } from '../../../_helpers/utils';
import { HtmlInputComponent } from '../../controls/html-input/html-input.component';
import { HtmlSelectComponent } from '../../controls/html-select/html-select.component';
import { PanelComponent } from '../../controls/panel/panel.component';


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

Object.keys(this.actionType).forEach(key => {
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fuxa-server",
"version": "1.1.19-1592",
"version": "1.1.19-1593",
"description": "Web-based Process Visualization (SCADA/HMI/Dashboard) software",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit 2c19550

Please sign in to comment.