Update assets/dashAgGridComponentFunctions.js
Browse files
assets/dashAgGridComponentFunctions.js
CHANGED
|
@@ -1,10 +1,4 @@
|
|
| 1 |
var dagcomponentfuncs = window.dashAgGridComponentFunctions = window.dashAgGridComponentFunctions || {};
|
| 2 |
-
// Store original data globally
|
| 3 |
-
window.gridOriginalData = null;
|
| 4 |
-
|
| 5 |
-
// Global store for pinned model IDs
|
| 6 |
-
window.pinnedModelIds = new Set(JSON.parse(localStorage.getItem('pinnedModelIds') || '[]'));
|
| 7 |
-
|
| 8 |
|
| 9 |
dagcomponentfuncs.ModelLink = function(props) {
|
| 10 |
if (!props.data.Model_Link) {
|
|
@@ -24,10 +18,6 @@ dagcomponentfuncs.ModelLink = function(props) {
|
|
| 24 |
);
|
| 25 |
};
|
| 26 |
|
| 27 |
-
if (!localStorage.getItem('pinnedModelIds')) {
|
| 28 |
-
localStorage.setItem('pinnedModelIds', '[]');
|
| 29 |
-
}
|
| 30 |
-
|
| 31 |
dagcomponentfuncs.PinRenderer = function(props) {
|
| 32 |
return React.createElement(
|
| 33 |
'div',
|
|
|
|
| 1 |
var dagcomponentfuncs = window.dashAgGridComponentFunctions = window.dashAgGridComponentFunctions || {};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
dagcomponentfuncs.ModelLink = function(props) {
|
| 4 |
if (!props.data.Model_Link) {
|
|
|
|
| 18 |
);
|
| 19 |
};
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
dagcomponentfuncs.PinRenderer = function(props) {
|
| 22 |
return React.createElement(
|
| 23 |
'div',
|