Skip to content

Commit

Permalink
hide API toggle button if not in notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Nov 11, 2024
1 parent 3fe81f4 commit 2cd38ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jdaviz/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<v-icon medium>mdi-help-box</v-icon>
</v-btn>
</j-tooltip>
<j-tooltip v-if="state.show_toolbar_buttons" tipid="app-api-hints">
<j-tooltip v-if="state.show_toolbar_buttons && checkNotebookContext()" tipid="app-api-hints">
<v-btn icon @click="state.show_api_hints = !state.show_api_hints" :class="{active : state.show_api_hints}">
<v-icon medium style="padding-top: 2px">mdi-code-tags</v-icon>
</v-btn>
Expand Down

0 comments on commit 2cd38ac

Please # to comment.