@flexem/fc-gui 3.0.0-alpha.92 → 3.0.0-alpha.93

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.
@@ -110,13 +110,24 @@ let WriteValueModalComponent = class WriteValueModalComponent {
110
110
  value = this.formatWriteValue();
111
111
  }
112
112
  }
113
+ if (!this.args.releasedVariableService) {
114
+ this.onClosed({
115
+ value: value,
116
+ showValue: showValue,
117
+ enableNumericalOperation: false,
118
+ isNumericalOperation: this.isNumericalOperation,
119
+ variableRwType: 6
120
+ });
121
+ return;
122
+ }
113
123
  this.args.releasedVariableService.getVariableWithValueTransform(this.variableName).subscribe(result => {
114
124
  const valueTransform = JSON.parse(result.valueTransform);
115
125
  if (valueTransform.Type !== 0) {
116
126
  this.isNumericalOperation = true;
117
127
  }
118
128
  this.onClosed({
119
- value, showValue,
129
+ value: value,
130
+ showValue: showValue,
120
131
  enableNumericalOperation: this.enableNumericalOperation,
121
132
  isNumericalOperation: this.isNumericalOperation,
122
133
  variableRwType: result.variableRwType
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "main": "bundles/fc-gui.umd.js",
3
- "version": "3.0.0-alpha.92",
3
+ "version": "3.0.0-alpha.93",
4
4
  "module": "public_api.js",
5
5
  "typings": "public_api.d.ts",
6
6
  "license": "UNLICENSED",