diff --git a/client/src/components/molecules/Asset.tsx b/client/src/components/molecules/Asset.tsx
index c93bb15..db1d048 100644
--- a/client/src/components/molecules/Asset.tsx
+++ b/client/src/components/molecules/Asset.tsx
@@ -20,12 +20,14 @@ const AssetLink = ({ asset, list }: { asset: any; list?: boolean }) => {
) : (
-
+ {base.categories && (
+
+ )}
{base.name}
{base.description.substring(0, 90)}...
diff --git a/client/src/config.ts b/client/src/config.ts
index 7a154bd..5c6e5ca 100644
--- a/client/src/config.ts
+++ b/client/src/config.ts
@@ -19,13 +19,11 @@ export const aquariusPort = 443
export const brizoScheme = 'https'
export const brizoHost = 'nginx-brizo.dev-ocean.com'
export const brizoPort = 443
+export const brizoAddress = '0x413c9ba0a05b8a600899b41b0c62dd661e689354'
export const parityScheme = 'https'
export const parityHost = 'nile.dev-ocean.com'
export const parityPort = 443
-export const threshold = 0
-export const password = 'ocean_secret'
-export const address = '0x413c9ba0a05b8a600899b41b0c62dd661e689354'
export const secretStoreScheme = 'https'
export const secretStoreHost = 'secret-store.dev-ocean.com'
diff --git a/client/src/ocean.ts b/client/src/ocean.ts
index f51b290..1d70dbb 100644
--- a/client/src/ocean.ts
+++ b/client/src/ocean.ts
@@ -1,24 +1,22 @@
import { Ocean } from '@oceanprotocol/squid'
import {
- address,
aquariusHost,
aquariusPort,
aquariusScheme,
brizoHost,
brizoPort,
brizoScheme,
+ brizoAddress,
nodeHost,
nodePort,
nodeScheme,
parityHost,
parityPort,
parityScheme,
- password,
secretStoreHost,
secretStorePort,
secretStoreScheme,
- threshold,
verbose
} from './config'
@@ -33,11 +31,9 @@ export async function provideOcean() {
nodeUri,
aquariusUri,
brizoUri,
+ brizoAddress,
parityUri,
secretStoreUri,
- threshold,
- password,
- address,
verbose
}
diff --git a/client/src/routes/Details/AssetFilesDetails.tsx b/client/src/routes/Details/AssetFilesDetails.tsx
index d6f05a3..a2fe3c2 100644
--- a/client/src/routes/Details/AssetFilesDetails.tsx
+++ b/client/src/routes/Details/AssetFilesDetails.tsx
@@ -54,8 +54,14 @@ export default class AssetFilesDetails extends PureComponent<
{files.map(file => (
- - {file.contentType.split('/')[1]}
- - {filesize(file.contentLength)}
+ -
+ {file.contentType &&
+ file.contentType.split('/')[1]}
+
+ -
+ {file.contentLength &&
+ filesize(file.contentLength)}
+
{/* - {file.encoding}
*/}
{/* - {file.compression}
*/}