File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
routes/(console)/onboarding/create-project Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -379,7 +379,9 @@ export async function checkForUsageLimit(org: Organization) {
379
379
const plan = get ( currentPlan ) ;
380
380
const membersOverflow =
381
381
// nested null checks needed: GitHub Education plan have empty addons.
382
- members > plan . addons . seats ?. limit ? members - ( plan . addons . seats ?. limit || members ) : 0 ;
382
+ members > plan ?. addons ?. seats ?. limit
383
+ ? members - ( plan ?. addons ?. seats ?. limit || members )
384
+ : 0 ;
383
385
384
386
if ( resources . some ( ( r ) => r . value >= 100 ) || membersOverflow > 0 ) {
385
387
readOnly . set ( true ) ;
Original file line number Diff line number Diff line change 15
15
import { user } from ' $lib/stores/user' ;
16
16
17
17
let isLoading = false ;
18
- let id: string ;
18
+ let id: string = ID . unique () ;
19
19
let startAnimation = false ;
20
20
let projectName = ' Appwrite project' ;
21
21
let region = Region .Fra ;
100
100
bind:id
101
101
bind:region
102
102
showTitle ={true }>
103
- < svelte:fragment slot = " submit" >
103
+ {# snippet submit ()}
104
104
<Layout .Stack direction =" row" justifyContent =" flex-end" >
105
105
<Button .Button
106
- onclick ={createProject }
106
+ on:click ={createProject }
107
107
type =" submit"
108
108
variant =" primary"
109
109
size =" s" >
110
110
Create
111
111
</Button .Button >
112
112
</Layout .Stack >
113
- </ svelte:fragment >
113
+ { / snippet }
114
114
</CreateProject >
115
115
</Card .Base >
116
116
{/if }
You can’t perform that action at this time.
0 commit comments