Skip to content

Commit

Permalink
FE: upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
yp committed Dec 13, 2022
1 parent 3f6becb commit e60aff0
Show file tree
Hide file tree
Showing 6 changed files with 3,458 additions and 3,024 deletions.
36 changes: 18 additions & 18 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"@2fd/ant-design-icons": "2.5.0",
"@ant-design/icons": "4.7.0",
"antd": "4.18.7",
"core-js": "^3.21.0",
"dayjs": "1.10.7",
"eslint-config-react-app": "^7.0.0",
"history": "5.2.0",
"markdown-to-jsx": "7.1.6",
"@2fd/ant-design-icons": "2.6.0",
"@ant-design/icons": "4.8.0",
"antd": "4.24.5",
"core-js": "^3.26.1",
"dayjs": "1.11.7",
"eslint-config-react-app": "^7.0.1",
"history": "5.3.0",
"markdown-to-jsx": "7.1.8",
"react": "^17.0.2",
"react-app-polyfill": "3.0.0",
"react-dom": "^17.0.2",
"react-refetch": "^3.0.1",
"react-router-dom": "6.2.1",
"react-scripts": "5.0.0",
"react-window": "1.8.6",
"xlsx": "^0.18.2"
"react-router-dom": "6.4.5",
"react-scripts": "5.0.1",
"react-window": "1.8.8",
"xlsx": "^0.18.5"
},
"scripts": {
"start": "craco start",
Expand All @@ -38,14 +38,14 @@
]
},
"devDependencies": {
"@craco/craco": "6.4.3",
"@craco/craco": "7.0.0",
"antd-dayjs-webpack-plugin": "1.0.6",
"babel-plugin-import": "1.13.3",
"babel-plugin-import": "1.13.5",
"craco-less": "2.0.0",
"eslint": "^8.9.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "4.0.0",
"prettier": "2.5.1"
"eslint": "^8.29.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"prettier": "2.8.1"
},
"packageManager": "yarn@3.3.0"
}
1 change: 1 addition & 0 deletions frontend/src/antd-fixes.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.@{ant-prefix}-tag.@{ant-prefix}-tag-processing {
color: @blue-8;
border-color: @blue-8;
background-color: @blue-1;
}

.@{ant-prefix}-tag.@{ant-prefix}-tag-success {
Expand Down
12 changes: 7 additions & 5 deletions frontend/src/pages/Call/Call.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,13 @@ function BodyCall({ call }) {
<i>No output files available (yet)</i>
)}
</Descriptions.Item>
{value.internal_ref && value.internal_ref.pangolin && !value.pangolin && (
<Descriptions.Item label="Lineage prediction:" span={2}>
<i>Not performed (yet)</i>
</Descriptions.Item>
)}
{value.internal_ref &&
value.internal_ref.pangolin &&
!value.pangolin && (
<Descriptions.Item label="Lineage prediction:" span={2}>
<i>Not performed (yet)</i>
</Descriptions.Item>
)}
{value.pangolin && (
<Descriptions.Item label="Lineage prediction:" span={2}>
<PangolinOutputDescription
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/VcfNew/VcfNew.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function VcfNew({ refs, createVcf }) {
(vcf) => {
setLoading(false);
message.success('Job submission successful!');
navigate(`../${vcf.id}`);
navigate(`/vcf/${vcf.id}`);
},
(error) => {
setLoading(false);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/VcfUpload/VcfUpload.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function VcfUpload({ refs, createVcf }) {
(vcf) => {
setLoading(false);
message.success('Upload successful!');
navigate(`../${vcf.id}`);
navigate(`/vcf/${vcf.id}`);
},
(error) => {
setLoading(false);
Expand Down
Loading

0 comments on commit e60aff0

Please sign in to comment.