Skip to content

Commit 10de71e

Browse files
JeroenDeDauwclaude
authored andcommitted
Fixes #433
Navigate to the schema page after saving on EditSchemaPage. Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent e3d8463 commit 10de71e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/ext.neowiki/src/components/SchemaEditor/EditSchemaPage.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const handleSave = async ( summary: string ): Promise<void> => {
3838
await schemaStore.saveSchema( schema, editSummary );
3939
// TODO: i18n
4040
mw.notify( `Updated ${ schemaName } schema`, { type: 'success' } );
41+
window.location.href = mw.util.getUrl( `Schema:${ schemaName }` );
4142
} catch ( error ) {
4243
mw.notify(
4344
error instanceof Error ? error.message : String( error ),

0 commit comments

Comments
 (0)