We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
toolbarOptions
1 parent 2523edf commit 8f02004Copy full SHA for 8f02004
webview/src/App.jsx
@@ -8,6 +8,13 @@ function App() {
8
const [error, setError] = React.useState(false);
9
const [loading, setLoading] = React.useState(true);
10
11
+ const toolbarOptions = {
12
+ labelBtn: true,
13
+ layerBtn: true,
14
+ expandPipelinesBtn: false,
15
+ exportBtn: false,
16
+ };
17
+
18
useEffect(() => {
19
// Handle messages sent from the extension to the webview
20
window.addEventListener("message", (event) => {
@@ -95,7 +102,8 @@ function App() {
95
102
globalNavigation: false,
96
103
metadataPanel: false,
97
104
miniMap: false,
98
- sidebar: false,
105
+ sidebar: true,
106
+ ...toolbarOptions,
99
107
},
100
108
behaviour: {
101
109
reFocus: false,
0 commit comments