Skip to content

Commit 703330d

Browse files
author
Mykhaylo Boychuk
committed
[DSC-2607] minor fix
1 parent 75d125f commit 703330d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/app/shared/testing/usage-report-service.stub.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { of as observableOf } from 'rxjs';
1+
import { of } from 'rxjs';
22

33
import { createSuccessfulRemoteDataObject$ } from '../remote-data.utils';
44

@@ -11,7 +11,7 @@ export class UsageReportServiceStub {
1111
}
1212

1313
searchStatistics(uri: string, page: number, size: number, categoryId?: string, startDate?: string, endDate?: string) {
14-
return observableOf(this._getReports());
14+
return of(this._getReports());
1515
}
1616

1717
_getReports() {

src/app/statistics-page/cris-statistics-page/cris-statistics-page.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ import { FilterMapPipe } from './statistics-pipes/filter-map.pipe';
6767

6868
@Component({
6969
selector: 'ds-cris-statistics-page',
70-
standalone: true,
7170
templateUrl: './cris-statistics-page.component.html',
7271
styleUrls: ['./cris-statistics-page.component.scss'],
72+
standalone: true,
7373
imports: [
7474
AsyncPipe,
7575
FilterMapPipe,

0 commit comments

Comments
 (0)