@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.
- package/CHANGELOG.md +6 -1
- package/bundles/@flexem/fc-gui.umd.js +12 -1
- package/bundles/@flexem/fc-gui.umd.js.map +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js +4 -4
- package/bundles/@flexem/fc-gui.umd.min.js.map +1 -1
- package/modal/write-value/write-value-modal.component.js +12 -1
- package/package.json +1 -1
|
@@ -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
|
|
129
|
+
value: value,
|
|
130
|
+
showValue: showValue,
|
|
120
131
|
enableNumericalOperation: this.enableNumericalOperation,
|
|
121
132
|
isNumericalOperation: this.isNumericalOperation,
|
|
122
133
|
variableRwType: result.variableRwType
|