diy-template-components 0.0.74 → 0.0.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.es.js +5 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +5 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -443,6 +443,10 @@ function useLinkBuilder(data) {
|
|
|
443
443
|
return null;
|
|
444
444
|
}
|
|
445
445
|
|
|
446
|
+
if (data?.isExistingLink) {
|
|
447
|
+
return data.link;
|
|
448
|
+
}
|
|
449
|
+
|
|
446
450
|
if (data?.isExternal) {
|
|
447
451
|
return data.link;
|
|
448
452
|
}
|
|
@@ -969,7 +973,7 @@ function Dropdown(props) {
|
|
|
969
973
|
link: dt.slug,
|
|
970
974
|
isLink: true,
|
|
971
975
|
value: dt.title,
|
|
972
|
-
isExternal:
|
|
976
|
+
isExternal: 0
|
|
973
977
|
},
|
|
974
978
|
fluid: true,
|
|
975
979
|
active: dt.active,
|