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