@arcblock/ux 2.8.21 → 2.8.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -129,7 +129,7 @@ function NFTDisplay({
129
129
  if (!urlObj.searchParams.has('assetId')) {
130
130
  urlObj.searchParams.append('assetId', address);
131
131
  }
132
- if (!urlObj.searchParams.has('vcId')) {
132
+ if (!urlObj.searchParams.has('vcId') && vcId) {
133
133
  urlObj.searchParams.append('vcId', vcId);
134
134
  }
135
135
  const url = urlObj.href;
@@ -148,7 +148,7 @@ function NFTDisplay(_ref) {
148
148
  if (!urlObj.searchParams.has('assetId')) {
149
149
  urlObj.searchParams.append('assetId', address);
150
150
  }
151
- if (!urlObj.searchParams.has('vcId')) {
151
+ if (!urlObj.searchParams.has('vcId') && vcId) {
152
152
  urlObj.searchParams.append('vcId', vcId);
153
153
  }
154
154
  const url = urlObj.href;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/ux",
3
- "version": "2.8.21",
3
+ "version": "2.8.22",
4
4
  "description": "Common used react components for arcblock products",
5
5
  "keywords": [
6
6
  "react",
@@ -324,11 +324,11 @@
324
324
  "peerDependencies": {
325
325
  "react": ">=18.1.0"
326
326
  },
327
- "gitHead": "e062f36c174f8244d0f18a1e99f11414cb2da516",
327
+ "gitHead": "9a9bd48a435a939a1ef443fe75dbc5e955b4e811",
328
328
  "dependencies": {
329
329
  "@arcblock/did-motif": "^1.1.13",
330
- "@arcblock/icons": "^2.8.21",
331
- "@arcblock/react-hooks": "^2.8.21",
330
+ "@arcblock/icons": "^2.8.22",
331
+ "@arcblock/react-hooks": "^2.8.22",
332
332
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
333
333
  "@emotion/react": "^11.10.4",
334
334
  "@emotion/styled": "^11.10.4",
@@ -123,7 +123,7 @@ function NFTDisplay({
123
123
  urlObj.searchParams.append('assetId', address);
124
124
  }
125
125
 
126
- if (!urlObj.searchParams.has('vcId')) {
126
+ if (!urlObj.searchParams.has('vcId') && vcId) {
127
127
  urlObj.searchParams.append('vcId', vcId);
128
128
  }
129
129