@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.
package/es/NFTDisplay/index.js
CHANGED
@@ -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;
|
package/lib/NFTDisplay/index.js
CHANGED
@@ -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.
|
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": "
|
327
|
+
"gitHead": "9a9bd48a435a939a1ef443fe75dbc5e955b4e811",
|
328
328
|
"dependencies": {
|
329
329
|
"@arcblock/did-motif": "^1.1.13",
|
330
|
-
"@arcblock/icons": "^2.8.
|
331
|
-
"@arcblock/react-hooks": "^2.8.
|
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",
|
package/src/NFTDisplay/index.js
CHANGED