-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In Cloud, out of date connectors call always returns 0 (#21126)
* isCloudApp returns a boolean now * Connector service never makes the check updates call in Cloud
- Loading branch information
1 parent
a50e34b
commit c1cb763
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export const isCloudApp = () => process.env.REACT_APP_CLOUD || window.CLOUD === "true"; | ||
export const isCloudApp = () => (process.env.REACT_APP_CLOUD || window.CLOUD) === "true"; |