Project

General

Profile

« Previous | Next » 

Revision 50376

continued with compatibility-validate

View differences:

content-events-of-repository.component.ts
2 2
import { RepositoryService } from '../../services/repository.service';
3 3
import { Topic } from '../../domain/typeScriptClasses';
4 4
import { ActivatedRoute } from '@angular/router';
5
import { loadingTopicsError } from '../../domain/shared-messages';
5 6

  
6 7
@Component ({
7 8
  selector: 'content-events-of-repository',
......
31 32
      .subscribe(topics => this.repoTopics = topics,
32 33
        error => {
33 34
          console.log(error);
34
          this.errorMessage = 'An error occured';
35
          this.errorMessage = loadingTopicsError;
35 36
          this.showSpinner = false;
36 37
        },
37 38
        () => {

Also available in: Unified diff