@visns-studio/visns-components 2.8.4 → 2.8.6
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/Field.jsx
CHANGED
|
@@ -227,6 +227,7 @@ function Field({
|
|
|
227
227
|
'plainrelationarray',
|
|
228
228
|
'plaintext',
|
|
229
229
|
'richeditor',
|
|
230
|
+
'time',
|
|
230
231
|
].includes(settings.type)
|
|
231
232
|
) {
|
|
232
233
|
return (
|
|
@@ -667,6 +668,7 @@ function Field({
|
|
|
667
668
|
'plainrelationarray',
|
|
668
669
|
'plaintext',
|
|
669
670
|
'richeditor',
|
|
671
|
+
'time',
|
|
670
672
|
'toggle',
|
|
671
673
|
].includes(settings.type)
|
|
672
674
|
) {
|
|
@@ -562,28 +562,6 @@ function GenericDetail({ setting, urlParam, userProfile }) {
|
|
|
562
562
|
case 'overview':
|
|
563
563
|
return (
|
|
564
564
|
<>
|
|
565
|
-
{activeTabConfig.form && (
|
|
566
|
-
<div className="gridactions">
|
|
567
|
-
<ul>
|
|
568
|
-
<li>
|
|
569
|
-
<button
|
|
570
|
-
className="btn"
|
|
571
|
-
onClick={() =>
|
|
572
|
-
modalOpen(
|
|
573
|
-
'update',
|
|
574
|
-
routeParams[
|
|
575
|
-
urlParam
|
|
576
|
-
]
|
|
577
|
-
)
|
|
578
|
-
}
|
|
579
|
-
>
|
|
580
|
-
Edit
|
|
581
|
-
</button>
|
|
582
|
-
</li>
|
|
583
|
-
</ul>
|
|
584
|
-
</div>
|
|
585
|
-
)}
|
|
586
|
-
|
|
587
565
|
<div className="gridtxt">
|
|
588
566
|
{activeTabConfig.sections.map(
|
|
589
567
|
(section, sectionIndex) => (
|
|
@@ -631,6 +609,21 @@ function GenericDetail({ setting, urlParam, userProfile }) {
|
|
|
631
609
|
)
|
|
632
610
|
)}
|
|
633
611
|
</div>
|
|
612
|
+
{activeTabConfig.form && (
|
|
613
|
+
<div className="polActions">
|
|
614
|
+
<button
|
|
615
|
+
className="btn"
|
|
616
|
+
onClick={() =>
|
|
617
|
+
modalOpen(
|
|
618
|
+
'update',
|
|
619
|
+
routeParams[urlParam]
|
|
620
|
+
)
|
|
621
|
+
}
|
|
622
|
+
>
|
|
623
|
+
Edit
|
|
624
|
+
</button>
|
|
625
|
+
</div>
|
|
626
|
+
)}
|
|
634
627
|
</>
|
|
635
628
|
);
|
|
636
629
|
case 'table':
|
package/package.json
CHANGED