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.js
CHANGED
|
@@ -455,6 +455,10 @@ function useLinkBuilder(data) {
|
|
|
455
455
|
return null;
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
+
if (data?.isExistingLink) {
|
|
459
|
+
return data.link;
|
|
460
|
+
}
|
|
461
|
+
|
|
458
462
|
if (data?.isExternal) {
|
|
459
463
|
return data.link;
|
|
460
464
|
}
|
|
@@ -981,7 +985,7 @@ function Dropdown(props) {
|
|
|
981
985
|
link: dt.slug,
|
|
982
986
|
isLink: true,
|
|
983
987
|
value: dt.title,
|
|
984
|
-
isExternal:
|
|
988
|
+
isExternal: 0
|
|
985
989
|
},
|
|
986
990
|
fluid: true,
|
|
987
991
|
active: dt.active,
|