File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
web/src/components/common Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ import { SupportButton } from './Support'
3838
3939const AppLoggedIn = forwardRef ( ( _props , ref ) => {
4040 const email = useSelector ( ( state : RootState ) => state . auth . email )
41+ const tool = getParsedIframeInfo ( ) . tool
42+ const toolVersion = getParsedIframeInfo ( ) . toolVersion
43+ const isSheets = tool == 'google' && toolVersion == 'sheets'
4144 useEffect ( ( ) => {
4245 getBillingInfo ( ) . then ( billingInfo => {
4346 dispatch ( setBillingInfo ( {
@@ -145,7 +148,7 @@ const AppLoggedIn = forwardRef((_props, ref) => {
145148 { sidePanelTabName === 'settings' ? < Settings /> : < TaskUI ref = { ref } /> }
146149 < HStack justifyContent = "space-between" alignItems = "center" width = "100%" py = "1" >
147150 { /* {configs.IS_DEV ? <DevToolsToggle size={"micro"}/> : null } */ }
148- < DevToolsToggle size = { "micro" } />
151+ { ! isSheets && < DevToolsToggle size = { "micro" } /> }
149152 < Text fontSize = "xs" color = "minusxGreen.800" fontWeight = { "bold" } > { platformShortcut } to toggle</ Text >
150153 < SupportButton email = { email } />
151154 </ HStack >
You can’t perform that action at this time.
0 commit comments