gbkannan89 commented on code in PR #7532:
URL: https://github.com/apache/trafficcontrol/pull/7532#discussion_r1205372817


##########
experimental/traffic-portal/src/app/shared/file-utils.service.ts:
##########
@@ -153,4 +153,21 @@ export class FileUtilsService {
                this.window.open(url, "_blank");
                URL.revokeObjectURL(url);
        }
+
+       /**
+        * Exports File
+        *
+        * @param json object to be exported
+        * @param fileName name for the download file
+        * @param fileExtension extenstion of export file
+        */
+       public exportFile(json: object, fileName: string, fileExtension: 
string): void {

Review Comment:
   I think its opening the downloadable file in new tab. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to