@mdline wrote:
Hello,
I want to use the translate service in an error block like this…
this.backendApi.readData(.subscribe( success => xxx, error => { this.translateService.get(error)['value']; }, () );
But got error for this.translateService
Cannot read property 'get' of undefined
So how can I use the translateService here?
Posts: 1
Participants: 1