@bitcobblers/wod-wiki-ui 0.47.2170 → 0.48.2172

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.
@@ -2167,13 +2167,14 @@ var DefaultFrontmatterWidget = class extends view.WidgetType {
2167
2167
  if (isTags || isReferenceList) {
2168
2168
  const chips = parseTagList(value);
2169
2169
  const chipIsReference = valueKind !== "tags";
2170
+ const isAliasRow = isAliasProperty(key);
2170
2171
  for (let idx = 0; idx < chips.length; idx++) {
2171
2172
  const chip = chips[idx];
2172
2173
  const match = chipIsReference ? refMatch(chip) : null;
2173
2174
  const pill = document.createElement("span");
2174
2175
  pill.className = match ? "inline-flex items-center gap-1 px-2 py-0.5 rounded-md text-xs font-medium bg-muted/60 text-foreground border border-border/60" : chipIsReference ? "inline-flex items-center gap-1 px-2 py-0.5 rounded-md text-xs font-medium bg-destructive/10 text-destructive border border-destructive/30" : "inline-flex items-center gap-1 px-2 py-0.5 rounded-md text-xs font-medium bg-amber-500/10 text-amber-800 dark:text-amber-300 border border-amber-500/20 dark:border-amber-500/30";
2175
2176
  const pillText = document.createElement("span");
2176
- pillText.textContent = match ? match.label : chip;
2177
+ pillText.textContent = isAliasRow ? chip : match ? match.label : chip;
2177
2178
  pill.appendChild(pillText);
2178
2179
  if (match && referenceProvider) {
2179
2180
  const openLink = document.createElement("a");