File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ import { appName } from '../script/environment';
1010export const Paths = {
1111 HOME : '/' ,
1212 PLAYGROUND : 'playground' ,
13- DATA : 'data' ,
14- TRAINING : 'training ' ,
15- MODEL : 'model' ,
13+ DATA : 'add- data' ,
14+ TRAINING : 'train-model ' ,
15+ MODEL : 'test- model' ,
1616 FILTERS : 'training/filters' ,
1717} as const ;
1818
@@ -34,16 +34,16 @@ export function navigate(path: PathType) {
3434
3535export const getTitle = ( path : PathType , t : MessageFormatter ) => {
3636 switch ( path ) {
37- case '/' : {
37+ case Paths . HOME : {
3838 return appName ;
3939 }
40- case 'data' : {
40+ case Paths . DATA : {
4141 return `${ t ( 'content.index.toolProcessCards.data.title' ) } | ${ appName } ` ;
4242 }
43- case 'training' : {
43+ case Paths . TRAINING : {
4444 return `${ t ( 'content.index.toolProcessCards.train.title' ) } | ${ appName } ` ;
4545 }
46- case 'model' : {
46+ case Paths . MODEL : {
4747 return `${ t ( 'content.index.toolProcessCards.model.title' ) } | ${ appName } ` ;
4848 }
4949 default :
You can’t perform that action at this time.
0 commit comments