Compare commits
2 Commits
hotfix/ser
...
fix/gql-hi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d28bc580c6 | ||
|
|
a75bfa9d9e |
@@ -1,15 +1,16 @@
|
||||
<template>
|
||||
<Splitpanes
|
||||
class="smart-splitter"
|
||||
:rtl="SIDEBAR_ON_LEFT && mdAndLarger"
|
||||
:class="{
|
||||
'!flex-row-reverse': SIDEBAR_ON_LEFT && mdAndLarger,
|
||||
'smart-splitter': SIDEBAR && hasSidebar,
|
||||
'no-splitter': !(SIDEBAR && hasSidebar),
|
||||
}"
|
||||
:horizontal="!mdAndLarger"
|
||||
@resize="setPaneEvent($event, 'vertical')"
|
||||
>
|
||||
<Pane
|
||||
:size="PANE_MAIN_SIZE"
|
||||
:size="SIDEBAR && hasSidebar ? PANE_MAIN_SIZE : 100"
|
||||
min-size="65"
|
||||
class="flex flex-col !overflow-auto"
|
||||
>
|
||||
@@ -36,9 +37,8 @@
|
||||
</Splitpanes>
|
||||
</Pane>
|
||||
<Pane
|
||||
v-if="SIDEBAR && hasSidebar"
|
||||
:size="PANE_SIDEBAR_SIZE"
|
||||
min-size="25"
|
||||
:size="SIDEBAR && hasSidebar ? PANE_SIDEBAR_SIZE : 0"
|
||||
:min-size="25"
|
||||
class="flex flex-col !overflow-auto bg-primaryContrast"
|
||||
>
|
||||
<slot name="sidebar" />
|
||||
|
||||
@@ -140,7 +140,10 @@ const runQuery = async (
|
||||
const runVariables = clone(request.value.variables)
|
||||
const runAuth =
|
||||
request.value.auth.authType === "inherit" && request.value.auth.authActive
|
||||
? clone(tabs.currentActiveTab.value.document.inheritedProperties?.auth)
|
||||
? clone(
|
||||
tabs.currentActiveTab.value.document.inheritedProperties?.auth
|
||||
.inheritedAuth
|
||||
)
|
||||
: clone(request.value.auth)
|
||||
|
||||
const inheritedHeaders =
|
||||
|
||||
@@ -27,7 +27,7 @@ export const getDefaultGQLRequest = (): HoppGQLRequest => ({
|
||||
}`,
|
||||
query: DEFAULT_QUERY,
|
||||
auth: {
|
||||
authType: "inherit",
|
||||
authType: "none",
|
||||
authActive: true,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user