public calendar view and secured type edit

This commit is contained in:
Julian Krauser 2024-12-04 19:00:24 +01:00
parent 5bb107e53a
commit e9a3e0c872
10 changed files with 145 additions and 6 deletions

View file

@ -28,6 +28,10 @@
<input type="checkbox" id="nscdr" v-model="calendarType.nscdr" />
<label for="nscdr">Standard Kalender Auslieferung (optional)</label>
</div>
<div v-if="!calendarType.nscdr">
<label for="passphrase">Passphrase (optional)</label>
<input type="text" id="passphrase" v-model="calendarType.passphrase" />
</div>
<div class="flex flex-row justify-end gap-2">
<button primary-outline type="reset" class="!w-fit" :disabled="canSaveOrReset" @click="resetForm">
@ -111,6 +115,7 @@ export default defineComponent({
type: formData.type.value,
color: formData.color.value,
nscdr: formData.nscdr.checked,
passphrase: formData.passphrase.value,
};
this.status = "loading";
this.updateActiveCalendarType(updateCalendarType)