mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3593] remove rxjs-compat layer (#3886)
* remove rxjs-compat layer * add rxjs linter * observable new instead of create * lint fixes * disable rxjs-no-subject-value for certain scenarios * fix auth rxjs
This commit is contained in:
committed by
Eugenio Romano
parent
ccc52d40dd
commit
f5a7b07370
@@ -34,7 +34,7 @@ export class RenditionsService {
|
||||
|
||||
/** @deprecated */
|
||||
isRenditionAvailable(nodeId: string, encoding: string): Observable<boolean> {
|
||||
return Observable.create((observer) => {
|
||||
return new Observable((observer) => {
|
||||
this.getRendition(nodeId, encoding).subscribe(
|
||||
(res) => {
|
||||
let isAvailable = true;
|
||||
@@ -54,7 +54,7 @@ export class RenditionsService {
|
||||
|
||||
/** @deprecated */
|
||||
isConversionPossible(nodeId: string, encoding: string): Observable<boolean> {
|
||||
return Observable.create((observer) => {
|
||||
return new Observable((observer) => {
|
||||
this.getRendition(nodeId, encoding).subscribe(
|
||||
() => {
|
||||
observer.next(true);
|
||||
|
Reference in New Issue
Block a user