Fix click propagation in group user list

This commit is contained in:
Andrew Kingston 2022-08-04 13:27:44 +01:00
parent 53d7b208e4
commit ccbbb86ad5
2 changed files with 5 additions and 2 deletions

View File

@ -43,7 +43,7 @@ const env = {
PLATFORM_URL: process.env.PLATFORM_URL || "", PLATFORM_URL: process.env.PLATFORM_URL || "",
POSTHOG_TOKEN: process.env.POSTHOG_TOKEN, POSTHOG_TOKEN: process.env.POSTHOG_TOKEN,
ENABLE_ANALYTICS: process.env.ENABLE_ANALYTICS, ENABLE_ANALYTICS: process.env.ENABLE_ANALYTICS,
TENANT_FEATURE_FLAGS: process.env.TENANT_FEATURE_FLAGS, TENANT_FEATURE_FLAGS: "default:USER_GROUPS",
BACKUPS_BUCKET_NAME: process.env.BACKUPS_BUCKET_NAME || "backups", BACKUPS_BUCKET_NAME: process.env.BACKUPS_BUCKET_NAME || "backups",
APPS_BUCKET_NAME: process.env.APPS_BUCKET_NAME || "prod-budi-app-assets", APPS_BUCKET_NAME: process.env.APPS_BUCKET_NAME || "prod-budi-app-assets",
TEMPLATES_BUCKET_NAME: process.env.TEMPLATES_BUCKET_NAME || "templates", TEMPLATES_BUCKET_NAME: process.env.TEMPLATES_BUCKET_NAME || "templates",

View File

@ -208,7 +208,10 @@
hoverable hoverable
> >
<Icon <Icon
on:click={() => removeUserFromGroup(user._id)} on:click={e => {
removeUserFromGroup(user._id)
e.stopPropagation()
}}
hoverable hoverable
size="S" size="S"
name="Close" name="Close"