fix: Missing space in Access Control Modal (#6356)

Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
This commit is contained in:
Piyush Gupta
2025-08-06 13:47:47 +05:30
committed by GitHub
parent 41d27c2093
commit 3784bd6b5e
8 changed files with 10 additions and 2 deletions

View File

@@ -124,6 +124,7 @@
"add_action": "Aktion hinzufügen",
"add_filter": "Filter hinzufügen",
"add_logo": "Logo hinzufügen",
"add_member": "Mitglied hinzufügen",
"add_project": "Projekt hinzufügen",
"add_to_team": "Zum Team hinzufügen",
"all": "Alle",

View File

@@ -124,6 +124,7 @@
"add_action": "Add action",
"add_filter": "Add filter",
"add_logo": "Add logo",
"add_member": "Add member",
"add_project": "Add project",
"add_to_team": "Add to team",
"all": "All",

View File

@@ -124,6 +124,7 @@
"add_action": "Ajouter une action",
"add_filter": "Ajouter un filtre",
"add_logo": "Ajouter un logo",
"add_member": "Ajouter un membre",
"add_project": "Ajouter un projet",
"add_to_team": "Ajouter à l'équipe",
"all": "Tout",

View File

@@ -124,6 +124,7 @@
"add_action": "Adicionar ação",
"add_filter": "Adicionar filtro",
"add_logo": "Adicionar logo",
"add_member": "Adicionar membro",
"add_project": "Adicionar projeto",
"add_to_team": "Adicionar à equipe",
"all": "Todos",

View File

@@ -124,6 +124,7 @@
"add_action": "Adicionar ação",
"add_filter": "Adicionar filtro",
"add_logo": "Adicionar logótipo",
"add_member": "Adicionar membro",
"add_project": "Adicionar projeto",
"add_to_team": "Adicionar à equipa",
"all": "Todos",

View File

@@ -124,6 +124,7 @@
"add_action": "新增操作",
"add_filter": "新增篩選器",
"add_logo": "新增標誌",
"add_member": "新增成員",
"add_project": "新增專案",
"add_to_team": "新增至團隊",
"all": "全部",

View File

@@ -107,7 +107,7 @@ describe("TeamSettingsModal", () => {
expect(screen.getByText("common.team_name")).toBeInTheDocument();
expect(screen.getByText("common.members")).toBeInTheDocument();
expect(screen.getByText("environments.settings.teams.add_members_description")).toBeInTheDocument();
expect(screen.getByText("Add member")).toBeInTheDocument();
expect(screen.getByText("common.add_member")).toBeInTheDocument();
expect(screen.getByText("common.projects")).toBeInTheDocument();
expect(screen.getByText("common.add_project")).toBeInTheDocument();
expect(screen.getByText("environments.settings.teams.add_projects_description")).toBeInTheDocument();

View File

@@ -353,6 +353,7 @@ export const TeamSettingsModal = ({
/>
<TooltipRenderer
shouldRender={selectedMemberIds.length === orgMembers.length || hasEmptyMember}
triggerClass="inline-block"
tooltipContent={
hasEmptyMember
? t("environments.settings.teams.please_fill_all_member_fields")
@@ -369,7 +370,7 @@ export const TeamSettingsModal = ({
hasEmptyMember
}>
<PlusIcon className="h-4 w-4" />
<span>Add member</span>
<span>{t("common.add_member")}</span>
</Button>
</TooltipRenderer>
</div>
@@ -473,6 +474,7 @@ export const TeamSettingsModal = ({
<TooltipRenderer
shouldRender={selectedProjectIds.length === orgProjects.length || hasEmptyProject}
triggerClass="inline-block"
tooltipContent={
hasEmptyProject
? t("environments.settings.teams.please_fill_all_project_fields")