ESM Conversion, fix downloads

This commit is contained in:
Geomitron
2024-07-09 19:50:44 -05:00
parent bfceb52f70
commit 26c6f5e6f5
25 changed files with 175 additions and 115 deletions

View File

@@ -1,6 +1,6 @@
import { EventEmitter, Injectable, NgZone } from '@angular/core'
import { assign } from 'lodash'
import _ from 'lodash'
import { ChartData } from 'src-shared/interfaces/search.interface'
import { removeStyleTags } from 'src-shared/UtilFunctions'
@@ -22,7 +22,7 @@ export class DownloadService {
} else if (downloadIndex === -1) {
this.downloads.push(download)
} else {
assign(this.downloads[downloadIndex], download)
_.assign(this.downloads[downloadIndex], download)
}
}))
}