import { Component, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core'
import { FormGroup } from '@angular/forms'
import { MenuService, ThemeService } from '@app/core'
-import { HTMLServerConfig } from '@shared/models'
+import { HTMLServerConfig, VideoResolution } from '@shared/models'
import { ConfigService } from '../shared/config.service'
@Component({
return !!enabled.find((e: string) => e === algorithm)
}
+ getUserVideoQuota () {
+ return this.form.value['user']['videoQuota']
+ }
+
isSignupEnabled () {
return this.form.value['signup']['enabled'] === true
}