Project

General

Profile

« Previous | Next » 

Revision 57506

[Monitor Dashboard]: Add topic page

View differences:

home.component.ts
46 46
            this.sideBarService.setHasSidebar(true);
47 47
            this.stakeholder = stakeholder;
48 48
            this.topic = null;
49
            this.title.setTitle(stakeholder.index_name);
49 50
          }
50 51
        });
51 52
      });
......
77 78

  
78 79
  public createTopic(element) {
79 80
    if(this.topic.name && this.topic.name !== '') {
80
      this.topic.alias = this.topic.name.toLowerCase().replace(' ', '_');
81
      this.topic.alias = this.topic.name.toLowerCase();
81 82
      this.stakeholder.topics.push(this.topic);
82 83
      this.close(element);
83 84
    } else {

Also available in: Unified diff