File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,7 @@ export function History() {
3030 const mapping : Record < string , string > = { } ;
3131 for ( let index = 0 ; index < data . length ; index ++ ) {
3232 const backend = data [ index ] as BackendData ;
33- mapping [ backend . name ] = backend . proxyTo ;
3433 mapping [ backend . proxyTo ] = backend . name ;
35- mapping [ backend . externalUrl ] = backend . name ;
3634 }
3735 setBackendMapping ( mapping ) ;
3836 } ) . catch ( ( ) => { } ) ;
@@ -96,7 +94,7 @@ export function History() {
9694 < Form . Select field = "backendUrl" label = 'RoutedTo' style = { { width : 200 } } showClear placeholder = { Locale . History . RoutedToTip } >
9795 { backendData ?. map ( b => (
9896 < Form . Select . Option key = { b . externalUrl } value = { b . externalUrl } >
99- < Tag color = { 'blue' } style = { { marginRight : '5px' } } > { backendMapping [ b . externalUrl ] } </ Tag >
97+ < Tag color = { 'blue' } style = { { marginRight : '5px' } } > { b . name } </ Tag >
10098 < Text > { b . externalUrl } </ Text >
10199 </ Form . Select . Option >
102100 ) ) }
You can’t perform that action at this time.
0 commit comments