mirror of
https://github.com/immich-app/immich.git
synced 2025-11-25 12:00:42 +09:00
fix: invalid storage quota with decimals (#21271)
This commit is contained in:
@@ -122,7 +122,7 @@
|
||||
</Field>
|
||||
|
||||
<Field label={$t('admin.quota_size_gib')}>
|
||||
<Input bind:value={quotaSize} type="number" placeholder={$t('unlimited')} min="0" />
|
||||
<Input bind:value={quotaSize} type="number" placeholder={$t('unlimited')} min="0" step="1" />
|
||||
{#if quotaSizeWarning}
|
||||
<HelperText color="danger">{$t('errors.quota_higher_than_disk_size')}</HelperText>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user