Ensure devtools are never shown in the app preview
This commit is contained in:
parent
3937171a25
commit
7a3c220c8c
|
@ -43,7 +43,10 @@
|
||||||
let permissionError = false
|
let permissionError = false
|
||||||
|
|
||||||
// Determine if we should show devtools or not
|
// Determine if we should show devtools or not
|
||||||
$: showDevTools = $devToolsStore.enabled && !$routeStore.queryParams?.peek
|
$: showDevTools =
|
||||||
|
!$builderStore.inBuilder &&
|
||||||
|
$devToolsStore.enabled &&
|
||||||
|
!$routeStore.queryParams?.peek
|
||||||
|
|
||||||
// Handle no matching route
|
// Handle no matching route
|
||||||
$: {
|
$: {
|
||||||
|
|
Loading…
Reference in New Issue