@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.
- package/components/crm/Form.jsx +9 -9
- package/package.json +1 -1
package/components/crm/Form.jsx
CHANGED
|
@@ -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