mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -07:00
added null check to to prevent crash when loading couchpotato settings for the first time
This commit is contained in:
parent
a9bbd55c05
commit
0bbf5c1b56
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label>Quality Profiles</mat-label>
|
<mat-label>Quality Profiles</mat-label>
|
||||||
<mat-select formControlName="defaultProfileId">
|
<mat-select formControlName="defaultProfileId">
|
||||||
<mat-option *ngFor="let profile of profiles.list" value="{{profile._id}}">{{profile.label}}</mat-option>
|
<mat-option *ngFor="let profile of profiles?.list" value="{{profile._id}}">{{profile.label}}</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
<mat-error>A Default Quality Profile is required</mat-error>
|
<mat-error>A Default Quality Profile is required</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue