fix: auth race condition on refresh, section edit dialog, time slot duplicate, autocomplete disable
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -72,22 +72,22 @@ function onSubmit() {
|
||||
max-width="500"
|
||||
>
|
||||
<VCard title="Rol wijzigen">
|
||||
<VCardText>
|
||||
<VRow class="mb-4">
|
||||
<VCol cols="12">
|
||||
<div class="text-body-1">
|
||||
<strong>{{ member.name }}</strong>
|
||||
</div>
|
||||
<div class="text-body-2 text-disabled">
|
||||
{{ member.email }}
|
||||
</div>
|
||||
</VCol>
|
||||
</VRow>
|
||||
<VForm
|
||||
ref="refVForm"
|
||||
@submit.prevent="onSubmit"
|
||||
>
|
||||
<VCardText>
|
||||
<VRow class="mb-4">
|
||||
<VCol cols="12">
|
||||
<div class="text-body-1">
|
||||
<strong>{{ member.name }}</strong>
|
||||
</div>
|
||||
<div class="text-body-2 text-disabled">
|
||||
{{ member.email }}
|
||||
</div>
|
||||
</VCol>
|
||||
</VRow>
|
||||
|
||||
<VForm
|
||||
ref="refVForm"
|
||||
@submit.prevent="onSubmit"
|
||||
>
|
||||
<VSelect
|
||||
v-model="role"
|
||||
label="Rol"
|
||||
@@ -95,40 +95,40 @@ function onSubmit() {
|
||||
:rules="[requiredValidator]"
|
||||
:error-messages="errors.role"
|
||||
/>
|
||||
</VForm>
|
||||
</VCardText>
|
||||
<VCardActions>
|
||||
<VSpacer />
|
||||
<VBtn
|
||||
variant="text"
|
||||
@click="modelValue = false"
|
||||
>
|
||||
Annuleren
|
||||
</VBtn>
|
||||
<VTooltip
|
||||
v-if="isSelf"
|
||||
text="Je kunt je eigen rol niet wijzigen"
|
||||
>
|
||||
<template #activator="{ props: tooltipProps }">
|
||||
<div v-bind="tooltipProps">
|
||||
<VBtn
|
||||
color="primary"
|
||||
disabled
|
||||
>
|
||||
Opslaan
|
||||
</VBtn>
|
||||
</div>
|
||||
</template>
|
||||
</VTooltip>
|
||||
<VBtn
|
||||
v-else
|
||||
color="primary"
|
||||
:loading="isPending"
|
||||
@click="onSubmit"
|
||||
>
|
||||
Opslaan
|
||||
</VBtn>
|
||||
</VCardActions>
|
||||
</VCardText>
|
||||
<VCardActions>
|
||||
<VSpacer />
|
||||
<VBtn
|
||||
variant="text"
|
||||
@click="modelValue = false"
|
||||
>
|
||||
Annuleren
|
||||
</VBtn>
|
||||
<VTooltip
|
||||
v-if="isSelf"
|
||||
text="Je kunt je eigen rol niet wijzigen"
|
||||
>
|
||||
<template #activator="{ props: tooltipProps }">
|
||||
<div v-bind="tooltipProps">
|
||||
<VBtn
|
||||
color="primary"
|
||||
disabled
|
||||
>
|
||||
Opslaan
|
||||
</VBtn>
|
||||
</div>
|
||||
</template>
|
||||
</VTooltip>
|
||||
<VBtn
|
||||
v-else
|
||||
type="submit"
|
||||
color="primary"
|
||||
:loading="isPending"
|
||||
>
|
||||
Opslaan
|
||||
</VBtn>
|
||||
</VCardActions>
|
||||
</VForm>
|
||||
</VCard>
|
||||
</VDialog>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user