Skip to content

Commit

Permalink
put switch tabs patch back in - seems needed to make headers work cor…
Browse files Browse the repository at this point in the history
…rectly
  • Loading branch information
lstillwe committed Mar 15, 2024
1 parent 134c454 commit e398032
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions patches/terriajs+8.2.21.patch
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ index f465a0d..cf5ba9c 100644
errors.push(
new TerriaError({
diff --git a/node_modules/terriajs/lib/ReactViews/Custom/Chart/ChartExpandAndDownloadButtons.tsx b/node_modules/terriajs/lib/ReactViews/Custom/Chart/ChartExpandAndDownloadButtons.tsx
index f33bf94..26994c6 100644
index f33bf94..4fe82fa 100644
--- a/node_modules/terriajs/lib/ReactViews/Custom/Chart/ChartExpandAndDownloadButtons.tsx
+++ b/node_modules/terriajs/lib/ReactViews/Custom/Chart/ChartExpandAndDownloadButtons.tsx
@@ -2,7 +2,7 @@ import classNames from "classnames";
Expand Down Expand Up @@ -304,7 +304,7 @@ index f33bf94..26994c6 100644
+ openDrawer()
+ }
+ if (currentTabIndex == 0) {
+ //setCurrentTabIndex(2)
+ setCurrentTabIndex(2)
+ setTimeout(function afterTwoSeconds() {
+ setCurrentTabIndex(1)
+ }, 400)
Expand All @@ -324,7 +324,7 @@ index f33bf94..26994c6 100644
+ // viewState.terria.workbench.remove(layer);
+ // }
+ // });
+ //setCurrentTabIndex(0)
+ setCurrentTabIndex(0)
+ setTimeout(function afterTwoSeconds() {
+ setCurrentTabIndex(1)
+ }, 400)
Expand Down

0 comments on commit e398032

Please sign in to comment.