mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #1781 from appwrite/fix-message-on-members
Fix: paid plans showing `PHP_INT_MAX` for limits
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
export let showAlert = true;
|
||||
export let level: 'organization' | 'project' = 'project';
|
||||
export let customPillText: string | undefined = undefined;
|
||||
export let showPillMessage: boolean = true;
|
||||
|
||||
export let buttonText: string = null;
|
||||
export let buttonMethod: () => void = null;
|
||||
@@ -129,7 +130,7 @@
|
||||
<header class:u-flex={isFlex} class="u-gap-12 common-section u-main-space-between u-flex-wrap">
|
||||
<div class="u-flex u-cross-child-center u-cross-center u-gap-16 u-flex-wrap">
|
||||
<Heading tag={titleTag} size={titleSize}>{title}</Heading>
|
||||
{#if isCloud && isLimited}
|
||||
{#if isCloud && isLimited && showPillMessage}
|
||||
<DropList bind:show={showDropdown} width="16">
|
||||
{#if hasProjectLimitation}
|
||||
<Pill button on:click={() => (showDropdown = !showDropdown)}>
|
||||
|
||||
@@ -74,6 +74,7 @@
|
||||
buttonText={$isOwner ? 'Invite' : ''}
|
||||
buttonMethod={() => newMemberModal.set(true)}
|
||||
customPillText="Members limited"
|
||||
showPillMessage={!$currentPlan?.addons?.seats?.supported}
|
||||
buttonDisabled={!$currentPlan?.addons?.seats?.supported} />
|
||||
|
||||
<TableScroll>
|
||||
|
||||
Reference in New Issue
Block a user