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,7 +1,7 @@
import { ChangeDetectorRef, Component, ElementRef, OnInit, ViewChild } from '@angular/core'
import { FormControl } from '@angular/forms'
import { capitalize } from 'lodash'
import _ from 'lodash'
import { SettingsService } from 'src-angular/app/core/services/settings.service'
import { themes } from 'src-shared/Settings'
@@ -91,7 +91,7 @@ export class SettingsComponent implements OnInit {
}
capitalize(text: string) {
return capitalize(text)
return _.capitalize(text)
}
downloadUpdate() {