Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/Publication/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function getExtensionString(extensionId: number, pubs: PubType[]): string {
}

function getIcon(item: PubType): React.ReactNode {
if (item.keywords.find(val => val === 'Graph Algorithm')) {
if (item.keywords.find(val => val === 'Graph Algorithms')) {
return <img style={{width: '0.9rem' }} src="graph.svg" />
} else if (item.keywords.find(val => val === 'Data Systems')) {
return <img style={{width: '0.9rem' }} src="database.svg"/>
Expand Down Expand Up @@ -106,11 +106,11 @@ export class PublicationList extends React.Component<{}, PublicationListState> {
<div style={{ paddingLeft: '1.5rem', display: 'flex', justifyContent: 'left', fontSize: '0.8rem', color: '#0080FF', fontStyle: 'italic' }}>
<div style={{ display: 'flex', justifyContent: 'left', marginRight: '1rem' }}>
<img style={{width: '0.8rem' }} src="graph.svg" />
<div> Graph Algorithm</div>
<div> Graph Algorithms</div>
</div>
<div style={{ display: 'flex', justifyContent: 'left' }}>
<img style={{width: '0.8rem' }} src="database.svg" />
<div> Data System</div>
<div> Data Systems</div>
</div>
</div>
<div style={{ padding: "1rem" }}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Publication/pub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface PubType {
code: string;
}

export const searchKeywords: string[] = ["Graph Algorithm", "Data Systems"];
export const searchKeywords: string[] = ["Graph Algorithms", "Data Systems"];


export const searchYears: string[] = [... new Set(pubDatabase.map((pub) => pub.year))].sort((a, b) => b - a).map(
Expand Down
Loading