Skip to content

Commit

Permalink
1.3.5 Hotfix : Merge pull request #935 from Itheum/hotfix-934-preview…
Browse files Browse the repository at this point in the history
…DataBroken

1.3.5 Hotfix : #934 preview data button fix for non logged in view
  • Loading branch information
newbreedofgeek authored Aug 19, 2023
2 parents 297ff34 + 9fe7046 commit c101f98
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "data-dex",
"version": "1.3.4",
"version": "1.3.5",
"description": "The Itheum Data DEX enables you to trade your data using web3 tech",
"dependencies": {
"@chakra-ui/icons": "2.1.0",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/DataNFT/DataNFTDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,12 +359,12 @@ export default function DataNFTDetails(props: DataNFTDetailsProps) {
colorScheme="teal"
hasArrow
label="Preview Data is disabled on devnet"
isDisabled={network.id != "devnet" || !!previewDataOnDevnetSession}>
isDisabled={!(networkId == "ED" && !previewDataOnDevnetSession)}>
<Button
size={{ base: "sm", md: "md", xl: "lg" }}
colorScheme="teal"
variant="outline"
isDisabled={network.id == "devnet" && !previewDataOnDevnetSession}
isDisabled={networkId == "ED" && !previewDataOnDevnetSession}
onClick={() => {
window.open(nftData.attributes.dataPreview);
}}>
Expand Down

0 comments on commit c101f98

Please sign in to comment.