File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/routes/(console)/organization-[organization] Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 37
37
} from ' @appwrite.io/pink-icons-svelte' ;
38
38
import { getPlatformInfo } from ' $lib/helpers/platform' ;
39
39
import CreateProjectCloud from ' ./createProjectCloud.svelte' ;
40
- import { regions as regionsStore } from ' $lib/stores/organization' ;
40
+ import { currentPlan , regions as regionsStore } from ' $lib/stores/organization' ;
41
41
import SelectProjectCloud from ' $lib/components/billing/alerts/selectProjectCloud.svelte' ;
42
42
43
43
export let data;
163
163
</DropList >
164
164
</div >
165
165
166
- {#if isCloud && data .organization .projects .length > 0 && $canWriteProjects }
166
+ {#if isCloud && $currentPlan ?. projects && $currentPlan ?. projects > 0 && data .organization .projects .length > 0 && $canWriteProjects }
167
167
<Alert .Inline
168
168
title ={` ${data .projects .total - data .organization .projects .length } projects will be archived on ${billingProjectsLimitDate } ` }>
169
169
<Typography .Text >
Original file line number Diff line number Diff line change 62
62
title ={' Create project' }
63
63
onSubmit ={create }
64
64
bind:error >
65
- <CreateProject showTitle ={false } bind:id bind:projectName ={name } bind:region {regions } />
65
+ <CreateProject { projects } showTitle ={false } bind:id bind:projectName ={name } bind:region {regions } />
66
66
<svelte:fragment slot =" footer" >
67
67
<Button
68
68
submit
You can’t perform that action at this time.
0 commit comments