Skip to content

Commit e9d145d

Browse files
committed
lint
1 parent 17b97af commit e9d145d

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

src/@seed/api/cycle/cycle.service.ts

+11-6
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,17 @@ export class CycleService {
1717
this._organizationService.currentOrganization$.subscribe(({ org_id }) => {
1818
const url = `/api/v3/cycles/?organization_id=${org_id}`
1919
// fetch cycles
20-
this._httpClient.get<ListCyclesResponse>(url).pipe(
21-
map((response) => response.cycles),
22-
).subscribe({
23-
next: (cycles) => { this._cycles.next(cycles) },
24-
error: (error) => { console.error('Error fetching cycles:', error) },
25-
})
20+
this._httpClient
21+
.get<ListCyclesResponse>(url)
22+
.pipe(map((response) => response.cycles))
23+
.subscribe({
24+
next: (cycles) => {
25+
this._cycles.next(cycles)
26+
},
27+
error: (error) => {
28+
console.error('Error fetching cycles:', error)
29+
},
30+
})
2631
})
2732
}
2833
}

src/@seed/components/navigation/horizontal/components/branch/branch.component.ts

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
import { NgClass, NgTemplateOutlet } from '@angular/common'
22
import type { OnDestroy, OnInit } from '@angular/core'
3-
import { booleanAttribute, ChangeDetectionStrategy, ChangeDetectorRef, Component, forwardRef, inject, input, viewChild } from '@angular/core'
3+
import {
4+
booleanAttribute,
5+
ChangeDetectionStrategy,
6+
ChangeDetectorRef,
7+
Component,
8+
forwardRef,
9+
inject,
10+
input,
11+
viewChild,
12+
} from '@angular/core'
413
import { MatIconModule } from '@angular/material/icon'
514
import type { MatMenu } from '@angular/material/menu'
615
import { MatMenuModule } from '@angular/material/menu'

0 commit comments

Comments
 (0)