log events

This commit is contained in:
gulnaz 2025-02-04 11:32:21 +03:00
parent 0485296824
commit cc23362eed

View file

@ -26,7 +26,9 @@ export class ExtractLoadService extends Behavior {
super.initialize();
this.button = this.getScript(AbstractButton);
this.httpClient = this.injector.get(HttpClient);
this.errorEvent.subscribe(() => console.log("error event occurred", this.errorEvent));
this.onClickFunction = () => {
console.log("click event occurred");
this.httpClient.get('extract/' + this.formatRegistry, {
responseType: 'blob',
observe: 'response'