show page details after receiving the title (#612)

Co-authored-by: Norbi <katunanorbert@gmai.com>
This commit is contained in:
Norbi 2021-05-20 11:00:50 +03:00 committed by GitHub
parent 9ce9fc84c7
commit 56169b9887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ export default function PageTemplateAssetDetails({
setPageTitle(isInPurgatory ? '' : title)
}, [ddo, error, isInPurgatory, title])
return ddo ? (
return ddo && pageTitle ? (
<>
<Page title={pageTitle} uri={uri}>
<Router basepath="/asset">