Rename LogsComponent to MessagesComponent

This commit is contained in:
Bálint Bokros 2018-02-01 16:33:25 +01:00
parent d5e14d0d8a
commit eb90c66c84
6 changed files with 7 additions and 7 deletions

View File

@ -3,7 +3,7 @@
<div class="row tfw-first-row">
<div class="col-sm"><app-login></app-login></div>
<div class="col-sm-6"><app-webide></app-webide></div>
<div class="col-sm"><app-logs></app-logs></div>
<div class="col-sm"><app-messages></app-messages></div>
</div>
<!--div class="row">
<div class="col-sm"><app-test-button [anchor_id]="'anchor_a'"></app-test-button></div>

View File

@ -12,7 +12,7 @@ import { LoginComponent } from './login/login.component';
import { MarkdownService } from './markdown.service';
import { TerminadoService } from './terminado.service';
import { WebideComponent } from './webide/webide.component';
import { LogsComponent } from './logs/logs.component';
import { MessagesComponent } from './messages/messages.component';
import { TestButtonComponent } from './test-button/test-button.component';
import { WebSocketService } from './websocket.service';
import { TerminalComponent } from './terminal/terminal.component';
@ -25,7 +25,7 @@ import { FSMUpdateService } from './fsmupdate.service';
HeaderComponent,
LoginComponent,
WebideComponent,
LogsComponent,
MessagesComponent,
TestButtonComponent,
TerminalComponent
],

View File

@ -5,11 +5,11 @@ import { WebSocketService } from '../websocket.service';
import { Message } from './message';
@Component({
selector: 'app-logs',
templateUrl: './logs.component.html',
styleUrls: ['./logs.component.scss']
selector: 'app-messages',
templateUrl: './messages.component.html',
styleUrls: ['./messages.component.scss']
})
export class LogsComponent implements OnInit {
export class MessagesComponent implements OnInit {
messages: Message[] = [];
constructor(
private markdownService: MarkdownService,