mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
Merge 811c76fdf9 into 3174a27902
This commit is contained in:
commit
de59ea3b48
1 changed files with 6 additions and 0 deletions
|
|
@ -35,6 +35,7 @@
|
||||||
let name = $state('');
|
let name = $state('');
|
||||||
let shouldChangePassword = $state(true);
|
let shouldChangePassword = $state(true);
|
||||||
let notify = $state(true);
|
let notify = $state(true);
|
||||||
|
let isAdmin = $state(false);
|
||||||
|
|
||||||
let quotaSize: string | undefined = $state();
|
let quotaSize: string | undefined = $state();
|
||||||
let isCreatingUser = $state(false);
|
let isCreatingUser = $state(false);
|
||||||
|
|
@ -67,6 +68,7 @@
|
||||||
name,
|
name,
|
||||||
quotaSizeInBytes,
|
quotaSizeInBytes,
|
||||||
notify,
|
notify,
|
||||||
|
isAdmin,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -127,6 +129,10 @@
|
||||||
<HelperText color="danger">{$t('errors.quota_higher_than_disk_size')}</HelperText>
|
<HelperText color="danger">{$t('errors.quota_higher_than_disk_size')}</HelperText>
|
||||||
{/if}
|
{/if}
|
||||||
</Field>
|
</Field>
|
||||||
|
|
||||||
|
<Field label={$t('admin.admin_user')}>
|
||||||
|
<Switch bind:checked={isAdmin} />
|
||||||
|
</Field>
|
||||||
</Stack>
|
</Stack>
|
||||||
</form>
|
</form>
|
||||||
</ModalBody>
|
</ModalBody>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue