@visns-studio/visns-components 2.8.4 → 2.8.5

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.
@@ -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
@@ -44,7 +44,7 @@
44
44
  "react-dom": "^17.0.1"
45
45
  },
46
46
  "name": "@visns-studio/visns-components",
47
- "version": "2.8.4",
47
+ "version": "2.8.5",
48
48
  "description": "Various packages to assist in the development of our Custom Applications.",
49
49
  "main": "index.js",
50
50
  "scripts": {