diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-14 11:50:22 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-14 11:50:22 +0200 |
commit | afb7d2d5c6ca09d2c678781ae4dd3f527604c1b4 (patch) | |
tree | e0b9c2039c541f5866c596b1531f820fc938ca50 /client/src/app/shared/shared-search | |
parent | 37cd44d04f2ad4d90535d28340c78d8d85b31f18 (diff) | |
download | PeerTube-afb7d2d5c6ca09d2c678781ae4dd3f527604c1b4.tar.gz PeerTube-afb7d2d5c6ca09d2c678781ae4dd3f527604c1b4.tar.zst PeerTube-afb7d2d5c6ca09d2c678781ae4dd3f527604c1b4.zip |
Remove protractor workaround
We don't use it anymore
Diffstat (limited to 'client/src/app/shared/shared-search')
-rw-r--r-- | client/src/app/shared/shared-search/find-in-bulk.service.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/client/src/app/shared/shared-search/find-in-bulk.service.ts b/client/src/app/shared/shared-search/find-in-bulk.service.ts index 962e374a5..6d77941d3 100644 --- a/client/src/app/shared/shared-search/find-in-bulk.service.ts +++ b/client/src/app/shared/shared-search/find-in-bulk.service.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import * as debug from 'debug' | 1 | import * as debug from 'debug' |
2 | import { Observable, Subject } from 'rxjs' | 2 | import { Observable, Subject } from 'rxjs' |
3 | import { first, map } from 'rxjs/operators' | 3 | import { first, map } from 'rxjs/operators' |
4 | import { Injectable, NgZone } from '@angular/core' | 4 | import { Injectable } from '@angular/core' |
5 | import { buildBulkObservable } from '@app/helpers' | 5 | import { buildBulkObservable } from '@app/helpers' |
6 | import { ResultList } from '@shared/models/common' | 6 | import { ResultList } from '@shared/models/common' |
7 | import { Video, VideoChannel } from '../shared-main' | 7 | import { Video, VideoChannel } from '../shared-main' |
@@ -23,8 +23,7 @@ export class FindInBulkService { | |||
23 | private getPlaylistInBulk: BulkObservables<string, ResultList<VideoPlaylist>> | 23 | private getPlaylistInBulk: BulkObservables<string, ResultList<VideoPlaylist>> |
24 | 24 | ||
25 | constructor ( | 25 | constructor ( |
26 | private searchService: SearchService, | 26 | private searchService: SearchService |
27 | private ngZone: NgZone | ||
28 | ) { | 27 | ) { |
29 | this.getVideoInBulk = this.buildBulkObservableObject(this.getVideosInBulk.bind(this)) | 28 | this.getVideoInBulk = this.buildBulkObservableObject(this.getVideosInBulk.bind(this)) |
30 | this.getChannelInBulk = this.buildBulkObservableObject(this.getChannelsInBulk.bind(this)) | 29 | this.getChannelInBulk = this.buildBulkObservableObject(this.getChannelsInBulk.bind(this)) |
@@ -115,7 +114,6 @@ export class FindInBulkService { | |||
115 | result: buildBulkObservable({ | 114 | result: buildBulkObservable({ |
116 | time: 500, | 115 | time: 500, |
117 | bulkGet, | 116 | bulkGet, |
118 | ngZone: this.ngZone, | ||
119 | notifierObservable: notifier.asObservable() | 117 | notifierObservable: notifier.asObservable() |
120 | }) | 118 | }) |
121 | } | 119 | } |