Closed alondhe closed 1 year ago
Maybe it's better to make:
config.disableBrowserCheck = true
Yes, better naming :)
Yes, and this is better backwards compatibility because the default behavior is to browser check, so this would be an override of the default (enabled) check.
Expected behavior
Some sites use Edge instead of Chrome, or feel comfortable using a non-Chrome browser (and assume all compatibility risk). Site admins should be able to override the Chrome warning with a config option.
Actual behavior
This isn't possible, instead, you need to hack up the app code here: https://github.com/OHDSI/Atlas/blob/master/js/utils/BrowserDetection.js#L3
Proposal
Add a variable to the config to be able to override this setting.
config.overrideBrowserCheck = true