mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[AAE-12501] Replace Math.random() to fix hospot security issue, fix lint issues
This commit is contained in:
@@ -237,7 +237,7 @@ export class AdfHttpClient implements ee.Emitter,JsApiHttpClient {
|
|||||||
takeUntil(abort$)
|
takeUntil(abort$)
|
||||||
).toPromise();
|
).toPromise();
|
||||||
|
|
||||||
(promise as any).abort = function () {
|
(promise as any).abort = function() {
|
||||||
eventEmitter.emit('abort');
|
eventEmitter.emit('abort');
|
||||||
abort$.next();
|
abort$.next();
|
||||||
abort$.complete();
|
abort$.complete();
|
||||||
|
Reference in New Issue
Block a user