Skip to content

Commit

Permalink
[ticket-508] Ensure autolinks appear on the CRE page (#509)
Browse files Browse the repository at this point in the history
ensure autolinks show on the CRE page
  • Loading branch information
dlicheva authored and northdpole committed May 21, 2024
1 parent 6b08669 commit b26001a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/frontend/src/utils/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const groupLinksByType = (node: Document): LinksByType =>
node.links ? groupBy(node.links, (link) => link.ltype) : {};

export const orderLinksByType = (lbt: LinksByType): LinksByType => {
const order = ['Contains', 'Linked To', 'SAME', 'SAM', 'Is Part Of', 'Related'];
const order = ['Contains', 'Linked To', 'Automatically linked to', 'SAME', 'SAM', 'Is Part Of', 'Related'];
const res: LinksByType = {};
for (const itm of order) {
if (lbt[itm]) {
Expand Down

0 comments on commit b26001a

Please sign in to comment.