chore: rename organization 'name' to organization 'slug' (#14835)

This commit is contained in:
Steven Masley
2024-09-26 12:17:49 -05:00
committed by GitHub
parent fb28979537
commit b23e6a05c8
3 changed files with 4 additions and 4 deletions

View File

@ -131,7 +131,7 @@ export const CreateOrganizationPageView: FC<
onChange={onChangeTrimmed(form)}
autoFocus
fullWidth
label="Name"
label="Slug"
/>
<TextField
{...getFieldHelpers("display_name")}

View File

@ -60,7 +60,7 @@ describe("OrganizationSettingsPage", () => {
);
await renderPage();
const form = screen.getByTestId("org-settings-form");
expect(within(form).getByRole("textbox", { name: "Name" })).toHaveValue(
expect(within(form).getByRole("textbox", { name: "Slug" })).toHaveValue(
MockDefaultOrganization.name,
);
});
@ -82,7 +82,7 @@ describe("OrganizationSettingsPage", () => {
);
await renderPage();
const form = screen.getByTestId("org-settings-form");
expect(within(form).getByRole("textbox", { name: "Name" })).toHaveValue(
expect(within(form).getByRole("textbox", { name: "Slug" })).toHaveValue(
MockOrganization2.name,
);
});

View File

@ -92,7 +92,7 @@ export const OrganizationSettingsPageView: FC<
onChange={onChangeTrimmed(form)}
autoFocus
fullWidth
label="Name"
label="Slug"
/>
<TextField
{...getFieldHelpers("display_name")}