You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (
ctrl.resourceType === "group" &&
result.data[DatabusUris.DATABUS_ARTIFACT_PROPERTY] !== undefined
) {
let uniqueValues = new Set();
result.data[DatabusUris.DATABUS_ARTIFACT_PROPERTY].values =
result.data[DatabusUris.DATABUS_ARTIFACT_PROPERTY].values
.map(value => DatabusUtils.uriToName(value)) // Ensure correct name extraction
.filter(value => uniqueValues.has(value) ? false : uniqueValues.add(value));
}
maybe we can create a set and return in the facet file,
DatabusUtils.uriToName = function (uri) {
if (!uri) return "";
// Extracts the last part after the last '/' but keeps dots intact
return uri.substring(uri.lastIndexOf("/") + 1);
};
Artifact section displays only a subset of the available artifacts and sometime displays duplicates.
The text was updated successfully, but these errors were encountered: