mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-07-02 04:16:23 +00:00
Make whole frontend dynamically configurable to avoid rebuilds
This commit is contained in:
@ -2,7 +2,6 @@ import { Component, OnInit, Output, EventEmitter } from '@angular/core';
|
||||
import { WebSocketService } from '../services/websocket.service';
|
||||
import { WebSocketMessage } from '../message-types/websocket-message';
|
||||
import { ConsoleReadMessage, ConsoleWriteMessage } from '../message-types/console-messages';
|
||||
import { config } from '../config';
|
||||
|
||||
@Component({
|
||||
selector: 'app-console',
|
||||
@ -10,7 +9,7 @@ import { config } from '../config';
|
||||
styleUrls: ['./console.component.scss']
|
||||
})
|
||||
export class ConsoleComponent implements OnInit {
|
||||
console_content: string = config.console.defaultContent;
|
||||
console_content = '';
|
||||
|
||||
@Output() contentChanged = new EventEmitter<string>();
|
||||
|
||||
|
Reference in New Issue
Block a user