diff --git a/api/package-lock.json b/api/package-lock.json index f3fea6386..2994d3fd7 100644 --- a/api/package-lock.json +++ b/api/package-lock.json @@ -1,12 +1,12 @@ { "name": "explorer-api", - "version": "3.3.4-rc.1", + "version": "3.3.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "explorer-api", - "version": "3.3.4-rc.1", + "version": "3.3.4", "license": "Apache-2.0", "dependencies": { "@google-cloud/logging-winston": "^5.3.0", diff --git a/api/package.json b/api/package.json index 836eaf8f2..7b12cdc13 100644 --- a/api/package.json +++ b/api/package.json @@ -1,7 +1,7 @@ { "name": "explorer-api", "description": "API for Tangle Explorer", - "version": "3.3.4-rc.1", + "version": "3.3.4", "author": "Martyn Janes ", "repository": { "type": "git", diff --git a/client/package-lock.json b/client/package-lock.json index 5792475e5..548214678 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1,12 +1,12 @@ { "name": "explorer-client", - "version": "3.3.4-rc.1", + "version": "3.3.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "explorer-client", - "version": "3.3.4-rc.1", + "version": "3.3.4", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/client/package.json b/client/package.json index 0cf510b3b..7e1f82705 100644 --- a/client/package.json +++ b/client/package.json @@ -1,7 +1,7 @@ { "name": "explorer-client", "description": "Tangle Explorer UI", - "version": "3.3.4-rc.1", + "version": "3.3.4", "author": "Martyn Janes ", "type": "module", "repository": { diff --git a/client/src/helpers/stardust/hooks/useAddressHistory.ts b/client/src/helpers/stardust/hooks/useAddressHistory.ts index 79325e559..1a8601932 100644 --- a/client/src/helpers/stardust/hooks/useAddressHistory.ts +++ b/client/src/helpers/stardust/hooks/useAddressHistory.ts @@ -101,9 +101,13 @@ export function useAddressHistory( const { outputs, cursor: newCursor } = await requestOutputsList(cursor); if (!newCursor) { - setDisabled?.(true); + // Note: newCursor can be null if there are no more pages, and undefined if there are no results searchMore = false; } + if (newCursor === undefined) { + // hide the tab only if there are no results + setDisabled?.(true); + } const fulfilledOutputs: OutputWithDetails[] = await Promise.all( outputs.map(async (output) => { diff --git a/package.json b/package.json index 01a2f33d8..8b923b782 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "explorer", "description": "Tangle Explorer", - "version": "3.3.4-rc.1", + "version": "3.3.4", "scripts": { "setup:client": "cd client && npm install && npm run postinstall", "setup:api": "cd api && npm install && npm run build-compile && npm run build-config",