log events
This commit is contained in:
parent
0485296824
commit
cc23362eed
1 changed files with 2 additions and 0 deletions
|
|
@ -26,7 +26,9 @@ export class ExtractLoadService extends Behavior {
|
||||||
super.initialize();
|
super.initialize();
|
||||||
this.button = this.getScript(AbstractButton);
|
this.button = this.getScript(AbstractButton);
|
||||||
this.httpClient = this.injector.get(HttpClient);
|
this.httpClient = this.injector.get(HttpClient);
|
||||||
|
this.errorEvent.subscribe(() => console.log("error event occurred", this.errorEvent));
|
||||||
this.onClickFunction = () => {
|
this.onClickFunction = () => {
|
||||||
|
console.log("click event occurred");
|
||||||
this.httpClient.get('extract/' + this.formatRegistry, {
|
this.httpClient.get('extract/' + this.formatRegistry, {
|
||||||
responseType: 'blob',
|
responseType: 'blob',
|
||||||
observe: 'response'
|
observe: 'response'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue