File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ class App extends Component {
8686 this . state . config . tableauExt . setClickThroughAsync ( false ) . then ( ( ) => {
8787 this . state . config . tableauExt . settings . set ( 'annotationPassThroughMode' , 'no' ) ;
8888 this . state . config . tableauExt . settings . saveAsync ( ) . then ( ( ) => {
89- this . props . history . push ( '/' )
89+ this . props . history . push ( '/viz ' )
9090 } ) ;
9191 } ) ;
9292 }
@@ -172,7 +172,8 @@ class App extends Component {
172172 /> }
173173 />
174174 < Route exact path = "/viz" render = { ( props ) =>
175- < Viz
175+ < Viz // pass the click through setting into key to force re-render on change
176+ key = { `tableau-react-annotation-${ this . state . config . tableauExt . settings . get ( 'annotationPassThroughMode' ) } ` }
176177 extensionIcons = { this . props . extensionIcons }
177178 sheetNames = { this . state . config . sheetNames }
178179 tableauSettings = { this . state . config . tableauSettings }
You can’t perform that action at this time.
0 commit comments