Skip to content

Commit

Permalink
fixed holochain version ordering in installed apps list
Browse files Browse the repository at this point in the history
  • Loading branch information
matthme committed Aug 24, 2022
1 parent 0153fdd commit 3037822
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,12 @@ export const store = createStore<LauncherAdminState>({

const versions: Array<HolochainId> = Object.keys(
stateInfo.state.content.content.versions
).map((v) => ({
type: "HolochainVersion",
content: v,
}));
)
.sort((a, b) => b.localeCompare(a))
.map((v) => ({
type: "HolochainVersion",
content: v,
}));
if (
stateInfo.state.content.content.custom_binary &&
stateInfo.state.content.content.custom_binary.type === "Running"
Expand Down

0 comments on commit 3037822

Please sign in to comment.