1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00
unleash.unleash/frontend/src/component/admin
Fredrik Strand Oseberg fd4874eaec
fix: add container for EditGroups (#3318)
This PR fixes an issue that would manifest when you navigated directly
to the groups and tried to edit the group from the group card. When you
were redirected to the edit groups view, the data fields would be empty.
The root cause of this issue is that the data has not arrived over the
wire before we load the UI, resulting in the UI showing an empty
dataset.

Normally, if this data came directly from useSWR, the app would
re-render and display the data correctly. However, in this instance we
are passing the data to an intermediary hook (useGroupForm) which does
not have the same re-render logic. Therefore we are effectively working
from stale data. We solve this issue by adding a container that resolves
the group before the edit form is rendered, and that invokes the
intermediary hook only when the data is available.
2023-03-15 15:23:59 +01:00
..
apiToken Fix/decouple api token list (#3171) 2023-02-21 14:27:46 +01:00
auth clear warnings (#3053) 2023-02-07 08:41:23 +01:00
billing refactor: light theme colors (#3252) 2023-03-06 12:58:36 +02:00
cors clear warnings (#3053) 2023-02-07 08:41:23 +01:00
groups fix: add container for EditGroups (#3318) 2023-03-15 15:23:59 +01:00
instance-admin feat: Instance stats for export/import (#3121) 2023-02-15 14:39:16 +02:00
invoice
maintenance refactor: light theme colors (#3252) 2023-03-06 12:58:36 +02:00
menu feat: remove maintenance feature flag (#3199) 2023-02-27 15:36:56 +02:00
network refactor: light theme colors (#3252) 2023-03-06 12:58:36 +02:00
projectRoles fix: remove all warnings (#3055) 2023-02-07 11:20:44 +01:00
serviceAccounts UI/bulk select (#3267) 2023-03-14 08:56:03 +00:00
users refactor: light theme colors (#3252) 2023-03-06 12:58:36 +02:00
Admin.tsx fix: add container for EditGroups (#3318) 2023-03-15 15:23:59 +01:00
AdminRedirect.tsx Refactor/lazy load (#2842) 2023-01-12 11:34:45 +01:00
LazyAdmin.tsx Refactor/lazy load (#2842) 2023-01-12 11:34:45 +01:00
LazyAdminExport.tsx Refactor/lazy load (#2842) 2023-01-12 11:34:45 +01:00