mirror of
https://github.com/usebruno/bruno.git
synced 2025-06-21 12:33:34 +02:00
feat(#BRU-18): updated inherit option order in the auth mode select dropdown
This commit is contained in:
parent
7a635810b1
commit
e66e26d115
@ -38,16 +38,7 @@ const AuthMode = ({ item, collection }) => {
|
|||||||
<div
|
<div
|
||||||
className="dropdown-item"
|
className="dropdown-item"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
dropdownTippyRef.current.hide();
|
dropdownTippyRef?.current?.hide();
|
||||||
onModeChange('inherit');
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
Inherit
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
className="dropdown-item"
|
|
||||||
onClick={() => {
|
|
||||||
dropdownTippyRef.current.hide();
|
|
||||||
onModeChange('awsv4');
|
onModeChange('awsv4');
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@ -56,7 +47,7 @@ const AuthMode = ({ item, collection }) => {
|
|||||||
<div
|
<div
|
||||||
className="dropdown-item"
|
className="dropdown-item"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
dropdownTippyRef.current.hide();
|
dropdownTippyRef?.current?.hide();
|
||||||
onModeChange('basic');
|
onModeChange('basic');
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@ -65,7 +56,7 @@ const AuthMode = ({ item, collection }) => {
|
|||||||
<div
|
<div
|
||||||
className="dropdown-item"
|
className="dropdown-item"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
dropdownTippyRef.current.hide();
|
dropdownTippyRef?.current?.hide();
|
||||||
onModeChange('bearer');
|
onModeChange('bearer');
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@ -74,7 +65,7 @@ const AuthMode = ({ item, collection }) => {
|
|||||||
<div
|
<div
|
||||||
className="dropdown-item"
|
className="dropdown-item"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
dropdownTippyRef.current.hide();
|
dropdownTippyRef?.current?.hide();
|
||||||
onModeChange('digest');
|
onModeChange('digest');
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@ -83,7 +74,16 @@ const AuthMode = ({ item, collection }) => {
|
|||||||
<div
|
<div
|
||||||
className="dropdown-item"
|
className="dropdown-item"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
dropdownTippyRef.current.hide();
|
dropdownTippyRef?.current?.hide();
|
||||||
|
onModeChange('inherit');
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
Inherit
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
className="dropdown-item"
|
||||||
|
onClick={() => {
|
||||||
|
dropdownTippyRef?.current?.hide();
|
||||||
onModeChange('none');
|
onModeChange('none');
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
vars {
|
vars {
|
||||||
host: http://localhost:80
|
host: http://localhost:8080
|
||||||
bearer_auth_token: your_secret_token
|
bearer_auth_token: your_secret_token
|
||||||
basic_auth_password: della
|
basic_auth_password: della
|
||||||
env.var1: envVar1
|
env.var1: envVar1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user