Skip to content

Commit

Permalink
[#56] Display cache diff table row id column as a string (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
allenkinzalow authored Sep 6, 2024
1 parent 9cbf17c commit a338a41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thick-snakes-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@osrs-wiki/cache-mediawiki": patch
---

Display cache diff table row id column as a string
2 changes: 1 addition & 1 deletion src/scripts/differences/builder/builder.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const formatEntryIdentifier = (
return Object.keys(urls).map(
(url, index) =>
new MediaWikiExternalLink(
index === 0 ? (value as string) : `(${index})`,
index === 0 ? `${value}` : `(${index})`,
`${urls[url as IndexURLType]}${value as string}`
)
);
Expand Down

0 comments on commit a338a41

Please sign in to comment.