Skip to content
Open
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
3 changes: 2 additions & 1 deletion src/components/displayComponents/education.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ const Education = props => {
{props.item.institute + ", "}
{props.item.city && props.item.city + ", "}
{props.item.state && props.item.state + ", "}
{props.item.country !== "NONE" ? formatCountry(props.item.country) + ", " : ""}
{props.item.country !== "NONE" &&
formatCountry(props.item.country)}
{props.item.year}
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/displayComponents/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const Project = props => {
</div>
{props.item.image ? (
<div>
<Modal basic trigger={<Image src={props.item.image} styleName="style.compPicture" />} basic fluid>
<Modal basic trigger={<Image src={props.item.image} styleName="style.compPicture" />} fluid>
<Modal.Content image>
<Image src={props.item.image} styleName="style.compPicture" wrapped size={"massive"} />
</Modal.Content>
Expand Down
2 changes: 1 addition & 1 deletion src/components/displayComponents/supervision.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Supervision = props => {
<List.Content>
<div>
{item.topic} ({category})
{item.country !== "NONE" ? ", " + formatCountry(item.country) : ""}
{props.item.country && formatCountry(props.item.country)}
<div styleName="style.gray">{duration}</div>
<div styleName="style.gray">{item.scholarsName}</div>
{item.nameOfOtherSupervisors && <div styleName="style.gray">Other supervisors: {item.nameOfOtherSupervisors}</div>}
Expand Down
2 changes: 1 addition & 1 deletion src/constants/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const collaborationOptions = [
];

export const countryOptions = [
{ text: "None", key: "NONE", value: "NONE"},

{ text: "Afghanistan", key: "AFGHANISTAN", value: "AFGHANISTAN" },
{ text: "Albania", key: "ALBANIA", value: "ALBANIA" },
{ text: "Algeria", key: "ALGERIA", value: "ALGERIA" },
Expand Down