fix: allow team with same slug for diff cases (#24029)

* fix: aalow team with slug for diff cases

* addressed review

* fix type error

* update test

* addressed review

* fix test

* Update team.ts

---------

Co-authored-by: Udit Takkar <[email protected]>
Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-10-01 14:04:20 +00:00
1 parent 8019c414e1
commit ff264d6f7a
6 files changed
+201 -27

No files matched your search

@@ -466,7 +466,12 @@ const TeamProfileForm = ({ team, teamId }: TeamProfileFormProps) => {
<p className="text-default mt-2 text-sm">{t("team_description")}</p>
</div>
<SectionBottomActions align="end">
<Button color="primary" type="submit" loading={mutation.isPending} disabled={isDisabled}>
<Button
color="primary"
type="submit"
loading={mutation.isPending}
disabled={isDisabled}
data-testid="update-team-profile">
{t("update")}
</Button>
{IS_TEAM_BILLING_ENABLED &&