@visns-studio/visns-components 2.0.1 → 2.0.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/components/crm/Form.jsx
CHANGED
|
@@ -480,7 +480,13 @@ function Form(props) {
|
|
|
480
480
|
);
|
|
481
481
|
} else {
|
|
482
482
|
toast.error(
|
|
483
|
-
|
|
483
|
+
<div>
|
|
484
|
+
{parse(
|
|
485
|
+
result.error !== undefined
|
|
486
|
+
? result.error
|
|
487
|
+
: ''
|
|
488
|
+
)}
|
|
489
|
+
</div>
|
|
484
490
|
);
|
|
485
491
|
}
|
|
486
492
|
});
|
|
@@ -501,7 +507,13 @@ function Form(props) {
|
|
|
501
507
|
);
|
|
502
508
|
} else {
|
|
503
509
|
toast.error(
|
|
504
|
-
|
|
510
|
+
<div>
|
|
511
|
+
{parse(
|
|
512
|
+
result.error !== undefined
|
|
513
|
+
? result.error
|
|
514
|
+
: ''
|
|
515
|
+
)}
|
|
516
|
+
</div>
|
|
505
517
|
);
|
|
506
518
|
}
|
|
507
519
|
});
|
|
@@ -67,7 +67,7 @@ function GenericIndex({ setting, userProfile }) {
|
|
|
67
67
|
<div className="grid">
|
|
68
68
|
<div className="grid__row">
|
|
69
69
|
{subnav && subnav.length > 0 ? (
|
|
70
|
-
|
|
70
|
+
<div className="grid__subrow">
|
|
71
71
|
<div className="grid__subnav">
|
|
72
72
|
<TableFilter
|
|
73
73
|
filters={subnav}
|
|
@@ -86,7 +86,7 @@ function GenericIndex({ setting, userProfile }) {
|
|
|
86
86
|
}
|
|
87
87
|
/>
|
|
88
88
|
</div>
|
|
89
|
-
|
|
89
|
+
</div>
|
|
90
90
|
) : (
|
|
91
91
|
<div className="grid__full">
|
|
92
92
|
<Table
|
package/package.json
CHANGED