frontend: disabled button while processing password reset
This commit is contained in:
@@ -234,7 +234,7 @@
|
||||
options={userStatusOptions}
|
||||
readonly={role_id === 0}
|
||||
/>
|
||||
{#if localUser.role_id === 8}
|
||||
{#if role_id === 8}
|
||||
<InputField
|
||||
name="user[role_id]"
|
||||
type="select"
|
||||
@@ -261,7 +261,7 @@
|
||||
/>
|
||||
<InputField
|
||||
name="user[first_name]"
|
||||
label={$t('first_name')}
|
||||
label={$t('user.first_name')}
|
||||
bind:value={localUser.first_name}
|
||||
placeholder={$t('placeholder.first_name')}
|
||||
required={true}
|
||||
@@ -322,7 +322,7 @@
|
||||
bind:value={localUser.city}
|
||||
placeholder={$t('placeholder.city')}
|
||||
/>
|
||||
{#if localUser.role_id > 0}
|
||||
{#if role_id > 0}
|
||||
<InputField
|
||||
name="user[notes]"
|
||||
type="textarea"
|
||||
@@ -528,7 +528,7 @@
|
||||
</div>
|
||||
<div class="button-container">
|
||||
{#if isUpdating}
|
||||
<SmallLoader width={30} message={'Aktualisiere...'} />
|
||||
<SmallLoader width={30} message={$t('loading.updating')} />
|
||||
{:else}
|
||||
<button type="button" class="button-dark" on:click={() => dispatch('cancel')}>
|
||||
{$t('cancel')}</button
|
||||
|
||||
Reference in New Issue
Block a user