summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/services/loader-service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/services/loader-service.ts')
-rw-r--r--catalog-ui/src/app/services/loader-service.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/catalog-ui/src/app/services/loader-service.ts b/catalog-ui/src/app/services/loader-service.ts
index 2f8746cbd8..6085eb16bf 100644
--- a/catalog-ui/src/app/services/loader-service.ts
+++ b/catalog-ui/src/app/services/loader-service.ts
@@ -32,12 +32,12 @@ export class LoaderService {
}
- public showLoader(...args) {
- this.eventListenerService.notifyObservers(EVENTS.SHOW_LOADER_EVENT, ...args);
+ public showLoader(loaderType:string, ...args) {
+ this.eventListenerService.notifyObservers(EVENTS.SHOW_LOADER_EVENT + loaderType, ...args);
}
- public hideLoader(...args) {
- this.eventListenerService.notifyObservers(EVENTS.HIDE_LOADER_EVENT, ...args);
+ public hideLoader(loaderType:string, ...args) {
+ this.eventListenerService.notifyObservers(EVENTS.HIDE_LOADER_EVENT + loaderType, ...args);
}
}