vtctld2: Rename TopoComponent to TopoBrowserComponent.

This commit is contained in:
Anthony Yeh 2016-06-28 18:32:34 -07:00
Родитель 4b986b5df6
Коммит 359ae161a7
5 изменённых файлов: 13 добавлений и 14 удалений

Просмотреть файл

@ -2,14 +2,14 @@ import { provideRouter, RouterConfig } from '@angular/router';
import { DashboardComponent } from './dashboard/dashboard.component'
import { StatusComponent } from './status/status.component'
import { SchemaComponent } from './schema/schema.component'
import { TopoComponent } from './topo/topo.component'
import { TopoBrowserComponent } from './topo/topo-browser.component'
export const routes: RouterConfig = [
{ path: '', component: DashboardComponent},
{ path: 'dashboard', component: DashboardComponent},
{ path: 'status', component: StatusComponent},
{ path: 'schema', component: SchemaComponent},
{ path: 'topo', component: TopoComponent},
{ path: 'topo', component: TopoBrowserComponent},
];
export const APP_ROUTER_PROVIDERS = [

Просмотреть файл

@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
moduleId: module.id,
selector: 'vt-topo',
templateUrl: './topo-browser.component.html',
styleUrls: ['./topo-browser.component.css'],
})
export class TopoBrowserComponent {
title = 'Topology Browser';
}

Просмотреть файл

@ -1,12 +0,0 @@
import { Component } from '@angular/core';
@Component({
moduleId: module.id,
selector: 'vt-topo',
templateUrl: './topo.component.html',
styleUrls: ['./topo.component.css'],
})
export class TopoComponent {
title = 'Vitess Control Panel';
}