Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
oncreated?: (team: Models.Membership) => void;
} = $props();

const supportsProjectRoles = $derived(isCloud && !!$currentPlan?.supportsOrganizationRoles);
const supportsProjectRoles = $derived(
isCloud && !!$currentPlan?.supportsProjectSpecificRoles
);
Comment thread
greptile-apps[bot] marked this conversation as resolved.

let email = $state('');
let name = $state('');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
</Button.Button>
<div style:min-width="232px" slot="tooltip">
<ActionMenu.Root>
{#if isCloud && $currentPlan?.supportsOrganizationRoles}
{#if isCloud && $currentPlan?.supportsProjectSpecificRoles}
<ActionMenu.Item.Button
trailingIcon={IconPencil}
on:click={() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
onupdated?: (membership: Models.Membership) => void;
} = $props();

const supportsProjectRoles = $derived(isCloud && !!$currentPlan?.supportsOrganizationRoles);
const supportsProjectRoles = $derived(
isCloud && !!$currentPlan?.supportsProjectSpecificRoles
);
const defaultRole = isSelfHosted ? 'owner' : 'developer';

let error = $state<string>(null);
Expand Down
Loading