Skip to content

Commit

Permalink
Added desktop app version check (#183)
Browse files Browse the repository at this point in the history
* Updated token storage name to force all users to get a new token

* Added version check page
  • Loading branch information
dsarfati authored Sep 16, 2019
1 parent 92141a9 commit 1867ce2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/web-app/src/Routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ export default class Routes extends Component {
}

if (this.store.native.apiVersion < 3) {
return <Route render={() => <LoadingPage text="Salad Is Currently Down For Maintenance." />} />
// return <Route render={() => <LoadingPage text="Salad Is Out of Date, Please Update to Continue." />} />//TODO: Put this back in once 0.3.0 is released
return <Route render={() => <LoadingPage text="Salad Is Out of Date, Please Update to Continue." />} />
}

let isElectron = this.store.native.isNative
Expand Down

0 comments on commit 1867ce2

Please sign in to comment.