Skip to content

Commit

Permalink
feat: #697: Update urls for desktop to use agency (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vu Nguyen authored Mar 25, 2020
1 parent 197c551 commit 0df93d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/marketplace/src/utils/launch-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const handleLaunchApp = (app: AppSummaryModel) => {
import('../core/store').then(store => {
if (app.homePage && app.id) {
if (store?.default?.state?.auth?.refreshSession?.mode === 'DESKTOP') {
window.location.href = `desktop://app?id=${app.id}&launchUri=${app.homePage}`
window.location.href = `agencycloud://app?id=${app.id}&launchUri=${app.homePage}`
} else {
window.location.href = app.homePage
}
Expand Down

0 comments on commit 0df93d2

Please sign in to comment.