Skip to content

Commit 2ac8a15

Browse files
authored
chore: hide advanced configuration for non-authCode grant types (hoppscotch#5293)
1 parent 6597ade commit 2ac8a15

File tree

1 file changed

+1
-1
lines changed
  • packages/hoppscotch-common/src/components/http/authorization

1 file changed

+1
-1
lines changed

packages/hoppscotch-common/src/components/http/authorization/OAuth2.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
</span>
173173
</div>
174174

175-
<div class="flex flex-col">
175+
<div v-if="selectedGrantTypeID === 'authCode'" class="flex flex-col">
176176
<div
177177
class="flex cursor-pointer items-center justify-between py-2 pl-4 text-secondaryLight transition hover:text-secondary"
178178
@click="toggleAdvancedConfig"

0 commit comments

Comments
 (0)