!minor fixed an issue with the rules not returning to the ui

!wip updater #1460 #865
pull/1514/head
Jamie.Rees 7 years ago
parent 709ab2dc98
commit 1bec8f54b0

@ -179,8 +179,8 @@ namespace Ombi.Schedule.Jobs.Ombi
{ {
UseShellExecute = false, UseShellExecute = false,
CreateNoWindow = true, CreateNoWindow = true,
FileName = $"Ombi.Updater{updaterExtension}", FileName = Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location),"TempUpdate",$"Ombi.Updater{updaterExtension}"),
Arguments = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) + " " + extension, Arguments = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) + " " + extension
}; };
using (var proc = new Process { StartInfo = start }) using (var proc = new Process { StartInfo = start })
{ {

@ -49,7 +49,6 @@
<a *ngIf="result.homepage" href="{{result.homepage}}" target="_blank"><span class="label label-info">HomePage</span></a> <a *ngIf="result.homepage" href="{{result.homepage}}" target="_blank"><span class="label label-info">HomePage</span></a>
<a *ngIf="result.trailer" href="{{result.trailer}}" target="_blank"><span class="label label-info">Trailer</span></a> <a *ngIf="result.trailer" href="{{result.trailer}}" target="_blank"><span class="label label-info">Trailer</span></a>
<span *ngIf="result.available" class="label label-success">Available</span>
<span *ngIf="result.quality" class="label label-success">{{result.quality}}p</span> <span *ngIf="result.quality" class="label label-success">{{result.quality}}p</span>
<ng-template [ngIf]="result.available"><span class="label label-success">Available</span></ng-template> <ng-template [ngIf]="result.available"><span class="label label-success">Available</span></ng-template>

@ -149,7 +149,7 @@ export class TvSearchComponent implements OnInit, OnDestroy {
this.notificationService.success("Request Added", this.notificationService.success("Request Added",
`Request for ${searchResult.title} has been added successfully`); `Request for ${searchResult.title} has been added successfully`);
} else { } else {
this.notificationService.warning("Request Added", this.result.message); this.notificationService.warning("Request Added", this.result.message ? this.result.message : this.result.errorMessage);
} }
}); });
} }

Loading…
Cancel
Save