Compare commits

...

2 Commits

Author SHA1 Message Date
nivedin
d28bc580c6 fix: gql history schema error 2023-12-19 16:36:04 +05:30
Akash K
a75bfa9d9e fix: actions not working when sidebar is hidden (#3669) 2023-12-19 16:13:59 +05:30
3 changed files with 10 additions and 7 deletions

View File

@@ -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" />

View File

@@ -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 =

View File

@@ -27,7 +27,7 @@ export const getDefaultGQLRequest = (): HoppGQLRequest => ({
}`, }`,
query: DEFAULT_QUERY, query: DEFAULT_QUERY,
auth: { auth: {
authType: "inherit", authType: "none",
authActive: true, authActive: true,
}, },
}) })