Skip to content

Commit

Permalink
Show source entry kinds in list
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Jul 1, 2022
1 parent c618d5f commit 9e4dfb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/markerikson-stack-client-prototype/src/app/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export interface SourceGroups {
other: newSource[];
}

const reIsJsSourceFile = /(js|ts)x?$/;
const reIsJsSourceFile = /(js|ts)x?(\?[\w\d]+)*$/;

const CACHE_DATA_PERMANENTLY = 10 * 365 * 24 * 60 * 60;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const SourcesList = () => {
const onLineClicked = () => dispatch(sourceEntrySelected(entry.sourceId));
return (
<li key={entry.sourceId} onClick={onLineClicked}>
{entryText}
{entryText} ({entry.kind})
</li>
);
})}
Expand Down

0 comments on commit 9e4dfb6

Please sign in to comment.