Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
andyyu824 committed Oct 29, 2024
2 parents 9bf8600 + 60fd904 commit 9618700
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions src/tapis-app/Apps/_components/AppsTable/AppsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,22 @@ const AppsTable: React.FC = () => {
});

// Only publish apps that are >= version 1.0
const filteredAppList = appList.filter((app) => {
if (!app || typeof app.version !== "string") {
return false;
}
const versionNumber = parseFloat(app.version);
return !isNaN(versionNumber) && versionNumber >= 1.0;
});
// const filteredAppList = appList.filter((app) => {
// if (!app || typeof app.version !== "string") {
// return false;
// }
// const versionNumber = parseFloat(app.version);
// return !isNaN(versionNumber) && versionNumber >= 1.0;
// });

const appOrder = ["demux-uhhpc", "ITS-pipeline-uhhpc", "16S-pipeline-uhhpc"];
const appOrder = [
"demux-uhhpc",
"ITS-pipeline-uhhpc",
"16S-pipeline-uhhpc",
"ampliseq-ITS-pipeline-uhhpc",
];

const sortedAppList = filteredAppList.sort((a, b) => {
const sortedAppList = appList.sort((a, b) => {
const indexA = appOrder.indexOf(a.id ?? "");
const indexB = appOrder.indexOf(b.id ?? "");

Expand Down

0 comments on commit 9618700

Please sign in to comment.