mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-15 23:41:55 +00:00
Rename testmessager -> testmessenger
This commit is contained in:
parent
1fddd234f2
commit
fc5ed3f06f
@ -5,7 +5,7 @@ import { DashboardComponent } from './dashboard/dashboard.component';
|
||||
import { WebideComponent } from './webide/webide.component';
|
||||
import { TerminalComponent } from './terminal/terminal.component';
|
||||
import { MessagesComponent } from './messages/messages.component';
|
||||
import { TestmessagerComponent } from './testmessager/testmessager.component';
|
||||
import { TestmessengerComponent } from './testmessenger/testmessenger.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: '', redirectTo: '/dashboard', pathMatch: 'full'},
|
||||
@ -13,7 +13,7 @@ const routes: Routes = [
|
||||
{ path: 'webide', component: WebideComponent },
|
||||
{ path: 'shell', component: TerminalComponent },
|
||||
{ path: 'messages', component: MessagesComponent },
|
||||
{ path: 'testmessager', component: TestmessagerComponent }
|
||||
{ path: 'testmessenger', component: TestmessengerComponent }
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
@ -19,7 +19,7 @@ import { TerminalComponent } from './terminal/terminal.component';
|
||||
import { FSMUpdateService } from './services/fsmupdate.service';
|
||||
import { ProcessManagerService } from './services/processmanager.service';
|
||||
import { AppRoutingModule } from './app-routing.module';
|
||||
import { TestmessagerComponent } from './testmessager/testmessager.component';
|
||||
import { TestmessengerComponent } from './testmessenger/testmessenger.component';
|
||||
|
||||
|
||||
@NgModule({
|
||||
@ -31,7 +31,7 @@ import { TestmessagerComponent } from './testmessager/testmessager.component';
|
||||
MessagesComponent,
|
||||
TerminalComponent,
|
||||
DashboardComponent,
|
||||
TestmessagerComponent
|
||||
TestmessengerComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
|
@ -3,10 +3,10 @@ import { WebSocketService } from '../services/websocket.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-testmessager',
|
||||
templateUrl: './testmessager.component.html',
|
||||
styleUrls: ['./testmessager.component.scss']
|
||||
templateUrl: './testmessenger.component.html',
|
||||
styleUrls: ['./testmessenger.component.scss']
|
||||
})
|
||||
export class TestmessagerComponent implements OnInit {
|
||||
export class TestmessengerComponent implements OnInit {
|
||||
messageStr = `{"key": "",\n"data": {}}`;
|
||||
|
||||
constructor(private webSocketService: WebSocketService) {}
|
Loading…
Reference in New Issue
Block a user