From f6852d5331c54f97b5331528b3456bf87bfbdd2e Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 11 Sep 2024 17:00:41 +0100 Subject: [PATCH] Update some other portal components to use new role metadata --- .../_components/AppRoleTableRenderer.svelte | 6 +- .../_components/RolesTagsTableRenderer.svelte | 9 --- .../_components/TagsTableRenderer.svelte | 35 --------- .../users/_components/UpdateRolesModal.svelte | 74 ------------------- 4 files changed, 3 insertions(+), 121 deletions(-) delete mode 100644 packages/builder/src/pages/builder/portal/users/users/_components/RolesTagsTableRenderer.svelte delete mode 100644 packages/builder/src/pages/builder/portal/users/users/_components/TagsTableRenderer.svelte delete mode 100644 packages/builder/src/pages/builder/portal/users/users/_components/UpdateRolesModal.svelte diff --git a/packages/builder/src/pages/builder/portal/users/users/_components/AppRoleTableRenderer.svelte b/packages/builder/src/pages/builder/portal/users/users/_components/AppRoleTableRenderer.svelte index 85d94ba350..e63ee2493e 100644 --- a/packages/builder/src/pages/builder/portal/users/users/_components/AppRoleTableRenderer.svelte +++ b/packages/builder/src/pages/builder/portal/users/users/_components/AppRoleTableRenderer.svelte @@ -1,17 +1,17 @@ diff --git a/packages/builder/src/pages/builder/portal/users/users/_components/RolesTagsTableRenderer.svelte b/packages/builder/src/pages/builder/portal/users/users/_components/RolesTagsTableRenderer.svelte deleted file mode 100644 index 402344dedd..0000000000 --- a/packages/builder/src/pages/builder/portal/users/users/_components/RolesTagsTableRenderer.svelte +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/packages/builder/src/pages/builder/portal/users/users/_components/TagsTableRenderer.svelte b/packages/builder/src/pages/builder/portal/users/users/_components/TagsTableRenderer.svelte deleted file mode 100644 index 8b2fd3c522..0000000000 --- a/packages/builder/src/pages/builder/portal/users/users/_components/TagsTableRenderer.svelte +++ /dev/null @@ -1,35 +0,0 @@ - - -
- - {#each tags as tag} - - {tag} - - {/each} - {#if leftover} - +{leftover} more - {/if} - -
- - diff --git a/packages/builder/src/pages/builder/portal/users/users/_components/UpdateRolesModal.svelte b/packages/builder/src/pages/builder/portal/users/users/_components/UpdateRolesModal.svelte deleted file mode 100644 index 9ad41ad652..0000000000 --- a/packages/builder/src/pages/builder/portal/users/users/_components/UpdateRolesModal.svelte +++ /dev/null @@ -1,74 +0,0 @@ - - - - - Update {user.email}'s role for {app.name}. - -