Skip to content

Commit

Permalink
fix: use overriden core app versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mediremi committed Aug 6, 2021
1 parent 2875f02 commit 624c077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AppsList/AppsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const AppCards = ({ apps }) => {
return
}
history.push(
app.version ? `/installed-app/${app.key}` : `/app/${app.appHub.id}`
app.appHub ? `/app/${app.appHub.id}` : `/installed-app/${app.key}`
)
}

Expand Down
1 change: 1 addition & 0 deletions src/pages/CoreApps/CoreApps.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export const CoreApps = () => {
if (!(app.short_name in appsByShortName)) {
appsByShortName[app.short_name] = app
}
appsByShortName[app.short_name].version = app.version
})
const apps = Object.values(appsByShortName)
const appsWithUpdates = apps.filter(
Expand Down

0 comments on commit 624c077

Please sign in to comment.