fix scope details title key (#2280)

This commit is contained in:
Jenny 2022-03-21 04:52:07 -04:00 committed by GitHub
parent 51aba823ef
commit 08775c65a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,9 @@ export default function ScopeDetails() {
}
/>
<ViewHeader
titleKey={"clients:createResource"}
titleKey={
scopeId ? scope?.name! : t("clients:createAuthorizationScope")
}
dropdownItems={
scopeId
? [