mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
fix: 🐛 Add UI for Emby recently added cronjob settings (#4469)
* Add UI for Emby recently added cronjob settings * Fix typo
This commit is contained in:
parent
97e939de19
commit
7d47bbe922
2 changed files with 9 additions and 1 deletions
|
@ -86,6 +86,14 @@
|
|||
<button mat-raised-button type="button" class="btn btn-sm btn-primary-outline cronbtn" (click)="testCron(form.get('embyContentSync')?.value)">Test</button>
|
||||
</div>
|
||||
|
||||
<div class="form-group cronBox">
|
||||
<mat-form-field appearance="outline" floatLabel=always>
|
||||
<mat-label for="embyRecentlyAddedSync" class="control-mat-label">Emby Recently Added Sync</mat-label>
|
||||
<input type="text" matInput [ngClass]="{'form-error': form.get('embyRecentlyAddedSync').hasError('required')}" id="embyRecentlyAddedSync" name="embyRecentlyAddedSync" formControlName="embyRecentlyAddedSync">
|
||||
<small *ngIf="form.get('embyRecentlyAddedSync').hasError('required')" class="error-text">The Emby Recently Added Sync is required</small></mat-form-field>
|
||||
<button mat-raised-button type="button" class="btn btn-sm btn-primary-outline cronbtn" (click)="testCron(form.get('embyRecentlyAddedSync')?.value)">Test</button>
|
||||
</div>
|
||||
|
||||
<div class="form-group cronBox">
|
||||
<mat-form-field appearance="outline" floatLabel=always>
|
||||
<mat-label for="jellyfinContentSync" class="control-label">Jellyfin Sync</mat-label>
|
||||
|
|
|
@ -36,7 +36,7 @@ export class JobsComponent implements OnInit {
|
|||
retryRequests: [x.retryRequests, Validators.required],
|
||||
mediaDatabaseRefresh: [x.mediaDatabaseRefresh, Validators.required],
|
||||
autoDeleteRequests: [x.autoDeleteRequests, Validators.required],
|
||||
EmbyRecentlyAddedSync: [x.embyRecentlyAddedSync, Validators.required],
|
||||
embyRecentlyAddedSync: [x.embyRecentlyAddedSync, Validators.required],
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue