mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
fix(dashboard): fix highlighted room for the Edge
This commit is contained in:
parent
d2924ce9dc
commit
26de80961d
1 changed files with 3 additions and 1 deletions
|
|
@ -11,7 +11,9 @@ export class RoomSelectorComponent {
|
||||||
selectedRoom: null;
|
selectedRoom: null;
|
||||||
sortedRooms = [];
|
sortedRooms = [];
|
||||||
viewBox = '-20 -20 618.88 407.99';
|
viewBox = '-20 -20 618.88 407.99';
|
||||||
isIE = !!(navigator.userAgent.match(/Trident/) || !!navigator.userAgent.match(/MSIE/));
|
isIE = !!(navigator.userAgent.match(/Trident/)
|
||||||
|
|| navigator.userAgent.match(/MSIE/)
|
||||||
|
|| navigator.userAgent.match(/Edge/));
|
||||||
isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') >= 0;
|
isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') >= 0;
|
||||||
roomSvg = {
|
roomSvg = {
|
||||||
borders: [{
|
borders: [{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue