From 31b17cfe7f20faaadcfa43ade7b93fcb97090c84 Mon Sep 17 00:00:00 2001 From: Lennart <18233294+lennart-k@users.noreply.github.com> Date: Mon, 23 Jun 2025 08:53:50 +0200 Subject: [PATCH] Frontend: Fix dumb typo in calendar creation form Fixes #82 --- crates/frontend/js-components/lib/create-calendar-form.ts | 2 +- crates/frontend/public/assets/js/create-calendar-form.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/frontend/js-components/lib/create-calendar-form.ts b/crates/frontend/js-components/lib/create-calendar-form.ts index 65c4d36..a65bb85 100644 --- a/crates/frontend/js-components/lib/create-calendar-form.ts +++ b/crates/frontend/js-components/lib/create-calendar-form.ts @@ -95,7 +95,7 @@ export class CreateCalendarForm extends LitElement { alert("No calendar components selected") return } - await this.client.createDirectory(`/ principal / ${this.user}/${this.id}`, { + await this.client.createDirectory(`/principal/${this.user}/${this.id}`, { data: ` diff --git a/crates/frontend/public/assets/js/create-calendar-form.mjs b/crates/frontend/public/assets/js/create-calendar-form.mjs index 9a3c4a8..e804565 100644 --- a/crates/frontend/public/assets/js/create-calendar-form.mjs +++ b/crates/frontend/public/assets/js/create-calendar-form.mjs @@ -72,7 +72,7 @@ let r = class extends u { alert("No calendar components selected"); return; } - return await this.client.createDirectory(`/ principal / ${this.user}/${this.id}`, { + return await this.client.createDirectory(`/principal/${this.user}/${this.id}`, { data: `