зеркало из https://github.com/github/vitess-gh.git
vtctld2: Rename TopoComponent to TopoBrowserComponent.
This commit is contained in:
Родитель
4b986b5df6
Коммит
359ae161a7
|
@ -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';
|
||||
}
|
Загрузка…
Ссылка в новой задаче