From eff17a092914ee6b84d72f3e124fb2748d2736ca Mon Sep 17 00:00:00 2001 From: Borislav Pantaleev Date: Thu, 5 Sep 2024 09:02:29 +0300 Subject: [PATCH] Fix redirect URL after user creation (#16) * Fix redirect URL after user creation * increment version; update readme --- .github/workflows/workflow.yml | 2 +- README.md | 2 +- src/resources/users.tsx | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index b7f6187..031685b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -4,7 +4,7 @@ on: branches: [ "main" ] env: upstream_version: v0.10.3 - etke_version: etke7 + etke_version: etke8 bunny_version: v0.1.0 base_path: ./ permissions: diff --git a/README.md b/README.md index 7ac29db..fa06ee3 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ The following changes are already implemented: * [Fix user's display name in header on user's page](https://github.com/etkecc/synapse-admin/pull/9) * [Fix footer overlapping content](https://github.com/Awesome-Technologies/synapse-admin/issues/574) * Switch from nginx to [SWS](https://static-web-server.net/) for serving the app, reducing the size of the Docker image -by 340% +* [Fix redirect URL after user creation](https://github.com/etkecc/synapse-admin/pull/16) _the list will be updated as new changes are added_ diff --git a/src/resources/users.tsx b/src/resources/users.tsx index f305fb1..68eb04b 100644 --- a/src/resources/users.tsx +++ b/src/resources/users.tsx @@ -204,7 +204,9 @@ const UserEditActions = () => { }; export const UserCreate = (props: CreateProps) => ( - + { + return `users/${id}`; + }}>