@visns-studio/visns-components 4.3.0 → 4.3.1

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.
@@ -1272,6 +1272,15 @@ function Form({
1272
1272
  )}
1273
1273
  </form>
1274
1274
  <div className="polActions">
1275
+ {formSettings.hasOwnProperty('customButton') &&
1276
+ formSettings.customButton.url ? (
1277
+ <button className="btn" onClick={handleSort}>
1278
+ {formSettings.customButton.label
1279
+ ? formSettings.customButton.label
1280
+ : 'Sort'}
1281
+ </button>
1282
+ ) : null}
1283
+
1275
1284
  {formSettings?.download?.button?.label && (
1276
1285
  <button className="btn" onClick={handleDownload}>
1277
1286
  {formSettings.download.button.label}
@@ -1287,15 +1296,6 @@ function Form({
1287
1296
  </button>
1288
1297
  ) : null}
1289
1298
 
1290
- {formSettings.hasOwnProperty('customButton') &&
1291
- formSettings.customButton.url ? (
1292
- <button className="btn" onClick={handleSort}>
1293
- {formSettings.customButton.label
1294
- ? formSettings.customButton.label
1295
- : 'Sort'}
1296
- </button>
1297
- ) : null}
1298
-
1299
1299
  <button className="btn" onClick={handleSubmit}>
1300
1300
  {formSettings?.save?.button?.label
1301
1301
  ? formSettings.save.button.label
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.3.0",
60
+ "version": "4.3.1",
61
61
  "description": "Various packages to assist in the development of our Custom Applications.",
62
62
  "main": "index.js",
63
63
  "scripts": {