File tree Expand file tree Collapse file tree
src/routes/(console)/project-[region]-[project]/storage/bucket-[bucket]/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 <svelte:fragment slot =" aside" >
4747 {#if isCloud }
4848 {@const size = humanFileSize (sizeToBytes (service , ' MB' , 1000 ))}
49- <Alert .Inline status =" info" >
50- The {currentPlan .name } plan has a maximum upload file size limit of {Math .floor (
51- parseInt (size .value )
52- )}{size .unit }.
53- {#if $organization ?.billingPlan === BillingPlan .FREE }
54- Upgrade to allow files of a larger size.
55- {/if }
56- <svelte:fragment slot =" actions" >
57- {#if $organization ?.billingPlan === BillingPlan .FREE }
49+ {#if $organization ?.billingPlan === BillingPlan .FREE }
50+ <Alert .Inline status =" info" >
51+ The {currentPlan .name } plan has a maximum upload file size limit of {Math .floor (
52+ parseInt (size .value )
53+ )}{size .unit }. Upgrade to allow files of a larger size.
54+ <svelte:fragment slot =" actions" >
5855 <div class =" alert-buttons u-flex" >
5956 <Button
6057 text
6562 });
6663 }}>Upgrade plan</Button >
6764 </div >
68- {/if }
69- </svelte:fragment >
70- </Alert .Inline >
65+ </svelte:fragment >
66+ </Alert .Inline >
67+ {:else }
68+ <Alert .Inline status =" info" >
69+ The {currentPlan .name } plan has a maximum upload file size limit of {Math .floor (
70+ parseInt (size .value )
71+ )}{size .unit }.
72+ </Alert .Inline >
73+ {/if }
7174 {/if }
75+
7276 <InputNumber
7377 required
7478 id =" size"
You can’t perform that action at this time.
0 commit comments