mirror of
https://github.com/jwetzell/showbridge-webui.git
synced 2026-09-04 21:09:00 +00:00
formatting
This commit is contained in:
@@ -91,14 +91,17 @@ export class RouteComponent {
|
||||
});
|
||||
|
||||
if (this.index() !== undefined) {
|
||||
this.eventsService.getRouteEventsForIndex(this.index()!).pipe(
|
||||
tap((routeEvent)=>{
|
||||
this.indicatorColor.set(routeEvent.error ? 'red' : 'greenyellow');
|
||||
}),
|
||||
debounceTime(100)
|
||||
).subscribe((routeEvent) => {
|
||||
this.indicatorColor.set('gray')
|
||||
})
|
||||
this.eventsService
|
||||
.getRouteEventsForIndex(this.index()!)
|
||||
.pipe(
|
||||
tap((routeEvent) => {
|
||||
this.indicatorColor.set(routeEvent.error ? 'red' : 'greenyellow');
|
||||
}),
|
||||
debounceTime(100),
|
||||
)
|
||||
.subscribe((routeEvent) => {
|
||||
this.indicatorColor.set('gray');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -115,7 +118,7 @@ export class RouteComponent {
|
||||
this.route.update((route) => {
|
||||
if (route) {
|
||||
const processors = route.processors || [];
|
||||
|
||||
|
||||
processors.push(processorTemplate);
|
||||
return {
|
||||
...route,
|
||||
|
||||
Reference in New Issue
Block a user