diff --git a/client/src/app/lineage/lineage.component.html b/client/src/app/lineage/lineage.component.html index f9c4b4b..8d5dc7c 100644 --- a/client/src/app/lineage/lineage.component.html +++ b/client/src/app/lineage/lineage.component.html @@ -239,13 +239,7 @@
SVG
-
- PNG -
+
PNG
Dot
CSV @@ -366,13 +360,7 @@
SVG
-
- PNG -
+
PNG
Dot
diff --git a/client/src/app/services/helper.service.ts b/client/src/app/services/helper.service.ts index 0a3c4e5..1083276 100644 --- a/client/src/app/services/helper.service.ts +++ b/client/src/app/services/helper.service.ts @@ -11,12 +11,8 @@ const librariesToShow = 50 export class HelperService { public shownLibraries: number = librariesToShow public loadMoreCount: number = librariesToShow - public isMicrosoft: boolean = false - constructor(private sasService: SasService) { - this.isMicrosoft = this.isIEorEDGE() - console.log('Is IE or Edge?', this.isMicrosoft) - } + constructor(private sasService: SasService) {} /** * Converts a JavaScript date object to a SAS Date or Datetime, given the logic below: @@ -215,32 +211,6 @@ export class HelperService { }) } - public isIEorEDGE() { - var ua = window.navigator.userAgent - - var msie = ua.indexOf('MSIE ') - if (msie > 0) { - // IE 10 or older => return version number - return true - } - - var trident = ua.indexOf('Trident/') - if (trident > 0) { - // IE 11 => return version number - var rv = ua.indexOf('rv:') - return true - } - - var edge = ua.indexOf('Edge/') - if (edge > 0) { - // Edge (IE 12+) => return version number - return true - } - - // other browser - return false - } - public convertObjectsToArray( objectArray: Array, deepClone: boolean = false