We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e856ae1 commit 3665402Copy full SHA for 3665402
src/essence/Ancillary/Description.js
@@ -1132,7 +1132,12 @@ const Description = {
1132
activeLayer.feature.assets[assetKeys[i]]
1133
const link = asset?.href
1134
const title = asset?.title
1135
- if (link !== null && link !== '')
+ const roles = asset?.roles
1136
+ if (
1137
+ link !== null &&
1138
+ link !== '' &&
1139
+ (!roles || roles.indexOf('data') !== -1)
1140
+ )
1141
links.push({
1142
name: `<span style='display: flex; justify-content: space-between;'>${title}<i class='mdi mdi-open-in-new mdi-14px' style='margin-left: 4px; margin-top: 1px;'></i></span>`,
1143
link: link,
0 commit comments