@visns-studio/visns-components 4.1.2 → 4.1.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.
@@ -1255,11 +1255,14 @@ function Form({
1255
1255
  </button>
1256
1256
  )}
1257
1257
 
1258
- <button className="btn" onClick={handleSubmit}>
1259
- {formSettings?.save?.button?.label
1260
- ? formSettings.save.button.label
1261
- : 'Save'}
1262
- </button>
1258
+ {formSettings.hasOwnProperty('disableSave') &&
1259
+ formSettings.disableSave === true ? null : (
1260
+ <button className="btn" onClick={handleSubmit}>
1261
+ {formSettings?.save?.button?.label
1262
+ ? formSettings.save.button.label
1263
+ : 'Save'}
1264
+ </button>
1265
+ )}
1263
1266
  </div>
1264
1267
  </div>
1265
1268
  );
package/package.json CHANGED
@@ -57,7 +57,7 @@
57
57
  "react-dom": "^17.0.1"
58
58
  },
59
59
  "name": "@visns-studio/visns-components",
60
- "version": "4.1.2",
60
+ "version": "4.1.3",
61
61
  "description": "Various packages to assist in the development of our Custom Applications.",
62
62
  "main": "index.js",
63
63
  "scripts": {