File tree Expand file tree Collapse file tree 4 files changed +20
-12
lines changed
src/routes/(console)/project-[region]-[project]
function-[function]/(modals) Expand file tree Collapse file tree 4 files changed +20
-12
lines changed Original file line number Diff line number Diff line change 214
214
>Only .tar.gz files allowed</svelte:fragment >
215
215
</Tooltip >
216
216
</Layout .Stack >
217
- <Typography .Caption variant =" 400"
218
- >Max file size: {readableMaxSize .value +
219
- readableMaxSize .unit }</Typography .Caption >
217
+ {#if maxSize > 0 }
218
+ <Typography .Caption variant =" 400"
219
+ >Max file size: {readableMaxSize .value +
220
+ readableMaxSize .unit }</Typography .Caption >
221
+ {/if }
220
222
</Layout .Stack >
221
223
</Layout .Stack >
222
224
</Upload .Dropzone >
Original file line number Diff line number Diff line change 101
101
>Only .tar.gz files allowed</svelte:fragment >
102
102
</Tooltip >
103
103
</Layout .Stack >
104
- <Typography .Caption variant =" 400"
105
- >Max file size: {readableMaxSize .value +
106
- readableMaxSize .unit }</Typography .Caption >
104
+ {#if maxSize > 0 }
105
+ <Typography .Caption variant =" 400"
106
+ >Max file size: {readableMaxSize .value +
107
+ readableMaxSize .unit }</Typography .Caption >
108
+ {/if }
107
109
</Layout .Stack >
108
110
</Layout .Stack >
109
111
</Upload .Dropzone >
Original file line number Diff line number Diff line change 209
209
>Only .tar.gz files allowed</svelte:fragment >
210
210
</Tooltip >
211
211
</Layout .Stack >
212
- <Typography .Caption variant =" 400"
213
- >Max file size: {readableMaxSize .value +
214
- readableMaxSize .unit }</Typography .Caption >
212
+ {#if maxSize > 0 }
213
+ <Typography .Caption variant =" 400"
214
+ >Max file size: {readableMaxSize .value +
215
+ readableMaxSize .unit }</Typography .Caption >
216
+ {/if }
215
217
</Layout .Stack >
216
218
</Layout .Stack >
217
219
</Upload .Dropzone >
Original file line number Diff line number Diff line change 95
95
>Only .tar.gz files allowed</svelte:fragment >
96
96
</Tooltip >
97
97
</Layout .Stack >
98
- <Typography .Caption variant =" 400"
99
- >Max file size: {readableMaxSize .value +
100
- readableMaxSize .unit }</Typography .Caption >
98
+ {#if maxSize > 0 }
99
+ <Typography .Caption variant =" 400"
100
+ >Max file size: {readableMaxSize .value +
101
+ readableMaxSize .unit }</Typography .Caption >
102
+ {/if }
101
103
</Layout .Stack >
102
104
</Layout .Stack >
103
105
</Upload .Dropzone >
You can’t perform that action at this time.
0 commit comments