diff --git a/packages/bruno-app/src/components/RequestPane/Auth/AuthMode/index.js b/packages/bruno-app/src/components/RequestPane/Auth/AuthMode/index.js index aa25ebfef..1ba47582d 100644 --- a/packages/bruno-app/src/components/RequestPane/Auth/AuthMode/index.js +++ b/packages/bruno-app/src/components/RequestPane/Auth/AuthMode/index.js @@ -38,16 +38,7 @@ const AuthMode = ({ item, collection }) => {
{ - dropdownTippyRef.current.hide(); - onModeChange('inherit'); - }} - > - Inherit -
-
{ - dropdownTippyRef.current.hide(); + dropdownTippyRef?.current?.hide(); onModeChange('awsv4'); }} > @@ -56,7 +47,7 @@ const AuthMode = ({ item, collection }) => {
{ - dropdownTippyRef.current.hide(); + dropdownTippyRef?.current?.hide(); onModeChange('basic'); }} > @@ -65,7 +56,7 @@ const AuthMode = ({ item, collection }) => {
{ - dropdownTippyRef.current.hide(); + dropdownTippyRef?.current?.hide(); onModeChange('bearer'); }} > @@ -74,7 +65,7 @@ const AuthMode = ({ item, collection }) => {
{ - dropdownTippyRef.current.hide(); + dropdownTippyRef?.current?.hide(); onModeChange('digest'); }} > @@ -83,7 +74,16 @@ const AuthMode = ({ item, collection }) => {
{ - dropdownTippyRef.current.hide(); + dropdownTippyRef?.current?.hide(); + onModeChange('inherit'); + }} + > + Inherit +
+
{ + dropdownTippyRef?.current?.hide(); onModeChange('none'); }} > diff --git a/packages/bruno-tests/collection/environments/Local.bru b/packages/bruno-tests/collection/environments/Local.bru index 26d3a6575..0f0b10485 100644 --- a/packages/bruno-tests/collection/environments/Local.bru +++ b/packages/bruno-tests/collection/environments/Local.bru @@ -1,5 +1,5 @@ vars { - host: http://localhost:80 + host: http://localhost:8080 bearer_auth_token: your_secret_token basic_auth_password: della env.var1: envVar1