File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
organization-[organization] Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 316316 {/if }
317317
318318 <!-- show invite members -->
319- {#if selectedOrgId && ! selectedOrg ?.billingPlanDetails .addons .seats .supported }
319+ {#if selectedOrgId && ! ( selectedOrg ?.billingPlanDetails ? .addons ? .seats ? .supported ?? true ) }
320320 {#if selectedOrgId === newOrgId }
321321 <InputText
322322 label =" Organization name"
Original file line number Diff line number Diff line change 151151 </Button >
152152 </div >
153153 <div slot =" tooltip" >
154- {! organization ?.billingPlanDetails .addons .seats .supported
154+ {! (
155+ organization ?.billingPlanDetails ?.addons ?.seats ?.supported ??
156+ true
157+ )
155158 ? ' Upgrade to add more members'
156159 : ` You've reached the members limit for the ${
157160 organization ?.billingPlanDetails .name
Original file line number Diff line number Diff line change 1212
1313 $ : total = members ?.total ?? 0 ;
1414 $ : organizationMembersSupported =
15- ! $organization ?.billingPlanDetails .addons .seats .supported ; /* false on free */
15+ $organization ?.billingPlanDetails ?.addons ?.seats ?.supported ??
16+ true ; /* true on paid plans */
1617 </script >
1718
1819<CardGrid >
1920 <svelte:fragment slot =" title" >Members</svelte:fragment >
2021 The number of members in your organization.
2122 <svelte:fragment slot =" aside" >
22- {#if ! organizationMembersSupported }
23+ {#if organizationMembersSupported }
2324 <div class =" u-flex u-flex-vertical" >
2425 <Layout .Stack direction =" row" justifyContent =" space-between" >
2526 <Layout .Stack gap =" s" direction =" row" alignItems =" center" >
You can’t perform that action at this time.
0 commit comments