1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

Fix assets in purgatory not displayed (#646)

* don't show loading component if pageTitle is an empty string

* fix lint errors

Co-authored-by: Norbi <katunanorbert@gmai.com>
This commit is contained in:
Norbi 2021-06-07 12:36:44 +03:00 committed by GitHub
parent fc6f611ac0
commit f759757a1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 140 additions and 40843 deletions

40981
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

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