fix: auth-headers in collection bug (#3652)

* fix: fallback for importers and fix spelling

* chore: update i18n strings
This commit is contained in:
Nivedin
2023-12-15 02:49:35 +05:30
committed by GitHub
parent b521604b66
commit fc4c15e52d
5 changed files with 19 additions and 7 deletions

View File

@@ -154,13 +154,17 @@
</div>
<div v-if="auth.authType === 'inherit'" class="p-4">
<span v-if="inheritedProperties?.auth">
Inherited
{{ getAuthName(inheritedProperties.auth.inheritedAuth.authType) }}
from Parent Collection {{ inheritedProperties?.auth.parentName }}
{{
t("authorization.inherited_from", {
auth: getAuthName(
inheritedProperties.auth.inheritedAuth.authType
),
collection: inheritedProperties?.auth.parentName,
})
}}
</span>
<span v-else>
Please save this request in any collection to inherit the
authorization
{{ t("authorization.save_to_inherit") }}
</span>
</div>
<div v-if="auth.authType === 'bearer'">