Merge branch 'release/test' of http://git.buggoglobal.com/html/admin-web into dev
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export function saveCsv(blob: Blob, fileName: string) {
|
||||
const url = URL.createObjectURL(blob)
|
||||
const anchor = document.createElement('a')
|
||||
try { anchor.href = url; anchor.download = fileName; anchor.click() }
|
||||
finally { URL.revokeObjectURL(url) }
|
||||
}
|
||||
Reference in New Issue
Block a user