fix: rename "Add member" to "Add" on template permissions page (#23943)

The "Add member" button on the template permissions page is used to add
both **users and groups**, so the label is misleading when adding a
group.

<img width="1238" height="672" alt="image"
src="https://github.com/user-attachments/assets/dbdfc79e-9e2e-4f26-9258-418f2038511e"
/>
This commit is contained in:
Ben Potter
2026-04-01 14:46:18 -06:00
committed by GitHub
parent 11c1afb5e9
commit 3a4a0b7270
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ test("add and remove a group", async ({ page }) => {
// Select the group from the list and add it
await page.getByText(groupName).click();
await page.getByText("Add member").click();
await page.getByText("Add").click();
const row = page.locator(".MuiTableRow-root", { hasText: groupName });
await expect(row).toBeVisible();
@@ -129,7 +129,7 @@ const AddTemplateUserOrGroup: FC<AddTemplateUserOrGroupProps> = ({
<Spinner loading={isLoading}>
<UserPlusIcon className="size-icon-sm" />
</Spinner>
Add member
Add
</Button>
</div>
</form>