Skip to content

Commit f9021de

Browse files
committed
Sort the tags in the UI so they’re always in the same order
1 parent 3981c5d commit f9021de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/presenters/v3/RunListPresenter.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ WHERE
338338
expiredAt: run.expiredAt ? run.expiredAt.toISOString() : undefined,
339339
costInCents: run.costInCents,
340340
usageDurationMs: Number(run.usageDurationMs),
341-
tags: run.tags,
341+
tags: run.tags.sort((a, b) => a.localeCompare(b)),
342342
};
343343
}),
344344
pagination: {

0 commit comments

Comments
 (0)