@gisce/react-ooui 1.5.2-rc.2 → 1.5.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gisce/react-ooui",
3
- "version": "1.5.2-rc.2",
3
+ "version": "1.5.3",
4
4
  "files": [
5
5
  "dist",
6
6
  "src",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "@ant-design/plots": "^1.0.9",
35
35
  "@gisce/fiber-diagram": "^1.1.0-rc.3",
36
- "@gisce/ooui": "^0.22.4-rc.1",
36
+ "@gisce/ooui": "^0.22.4",
37
37
  "@gisce/react-formiga-components": "^1.0.9-rc.21",
38
38
  "@gisce/react-formiga-table": "^0.8.6",
39
39
  "@monaco-editor/react": "^4.4.5",
@@ -671,7 +671,7 @@ const One2manyInput: React.FC<One2manyInputProps> = (
671
671
  <One2manyTopBar
672
672
  mode={currentView}
673
673
  title={getTitle()}
674
- readOnly={readOnly || false}
674
+ readOnly={readOnly}
675
675
  isMany2Many={isMany2many}
676
676
  formHasChanges={formHasChanges}
677
677
  totalItems={itemsToShow.length}
@@ -1015,7 +1015,7 @@ function Form(props: FormProps, ref: any) {
1015
1015
  let mustBlockButtons = false;
1016
1016
 
1017
1017
  try {
1018
- if (!readOnly && (formHasChanges() || getCurrentId() === undefined)) {
1018
+ if (formHasChanges() || getCurrentId() === undefined) {
1019
1019
  mustBlockButtons = true;
1020
1020
  updateOperationInProgress(true);
1021
1021
  if (submitMode === "2many") {