From a670ecf5b507186e9d5b164244c71e941ab1f991 Mon Sep 17 00:00:00 2001 From: William Craig Date: Mon, 25 Sep 2023 16:45:29 +0100 Subject: [PATCH] included edge/firefox to supported browser types --- .../AdminWebsite/ClientApp/src/app/services/device-type.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AdminWebsite/AdminWebsite/ClientApp/src/app/services/device-type.ts b/AdminWebsite/AdminWebsite/ClientApp/src/app/services/device-type.ts index b83e558c7..b693ca0ea 100644 --- a/AdminWebsite/AdminWebsite/ClientApp/src/app/services/device-type.ts +++ b/AdminWebsite/AdminWebsite/ClientApp/src/app/services/device-type.ts @@ -20,7 +20,7 @@ export class DeviceType { } isSupportedBrowser(): boolean { - const supportedBrowsers = [BROWSERS.CHROME, BROWSERS.MS_EDGE_CHROMIUM]; + const supportedBrowsers = [BROWSERS.CHROME, BROWSERS.MS_EDGE_CHROMIUM, BROWSERS.MS_EDGE, BROWSERS.FIREFOX]; const browser = this.deviceDetectorService.browser; return supportedBrowsers.findIndex(x => x.toUpperCase() === browser.toUpperCase()) > -1; }