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 { Component, ElementRef, ViewChild } from '@angular/core'
import { keys, pickBy } from 'lodash'
import _ from 'lodash'
import { DownloadService } from '../../../core/services/download.service'
import { SearchService } from '../../../core/services/search.service'
@@ -27,7 +27,7 @@ export class StatusBarComponent {
}
get selectedGroupIds() {
return keys(pickBy(this.selectionService.selections)).map(k => Number(k))
return _.keys(_.pickBy(this.selectionService.selections)).map(k => Number(k))
}
async downloadSelected() {