@visns-studio/visns-components 4.10.28 → 4.10.29

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/package.json CHANGED
@@ -77,7 +77,7 @@
77
77
  "react-dom": "^17.0.0 || ^18.0.0"
78
78
  },
79
79
  "name": "@visns-studio/visns-components",
80
- "version": "4.10.28",
80
+ "version": "4.10.29",
81
81
  "description": "Various packages to assist in the development of our Custom Applications.",
82
82
  "main": "src/index.js",
83
83
  "files": [
@@ -982,6 +982,24 @@ function GenericDetail({
982
982
  </button>
983
983
  </div>
984
984
  )}
985
+
986
+ {activeTabConfig.export && (
987
+ <div className={styles.polActions}>
988
+ <button
989
+ className={styles.btn}
990
+ onClick={() =>
991
+ window.open
992
+ ? window.open(
993
+ `${activeTabConfig.export.url}/${routeParams[urlParam]}`,
994
+ '_blank'
995
+ )
996
+ : (window.location.href = `${activeTabConfig.export.url}/${routeParams[urlParam]}`)
997
+ }
998
+ >
999
+ Export
1000
+ </button>
1001
+ </div>
1002
+ )}
985
1003
  </>
986
1004
  );
987
1005
  case 'qrCode':