Commit 216d148 1 parent 964093e commit 216d148 Copy full SHA for 216d148
File tree 1 file changed +6
-4
lines changed
specifyweb/frontend/js_src/lib/components/SchemaConfig
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,11 @@ import { formatUrl } from '../Router/queryString';
17
17
import { SchemaConfigHeader } from './Components' ;
18
18
import { SchemaConfigField } from './Field' ;
19
19
import { SchemaConfigColumn , SchemaConfigFields } from './Fields' ;
20
- import { useSchemaContainer , useContainerItems , useContainerString } from './Hooks' ;
20
+ import {
21
+ useContainerItems ,
22
+ useContainerString ,
23
+ useSchemaContainer ,
24
+ } from './Hooks' ;
21
25
import type { SchemaData } from './SetupHooks' ;
22
26
import { SchemaConfigTable } from './Table' ;
23
27
@@ -187,7 +191,5 @@ const handleSaved = async (rawLanguage: string): Promise<void> =>
187
191
)
188
192
// Reload the page after schema changes
189
193
. then ( ( ) : void =>
190
- globalThis . location . assign (
191
- formatUrl ( '/specify/task/schema-config/' , { rawLanguage } )
192
- )
194
+ globalThis . location . assign ( `/specify/schema-config/${ rawLanguage } /` )
193
195
) ;
You can’t perform that action at this time.
0 commit comments