Quick fixes to lang plus mmap realtime
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
let newEventStartDate = $state("");
|
||||
let newEventEndDate = $state("");
|
||||
let newEventVenue = $state("");
|
||||
let newEventVenueAddress = $state("");
|
||||
let newEventColor = $state(data.org.default_event_color || "#00A3E0");
|
||||
let creating = $state(false);
|
||||
|
||||
@@ -111,6 +112,7 @@
|
||||
start_date: newEventStartDate || null,
|
||||
end_date: newEventEndDate || null,
|
||||
venue_name: newEventVenue.trim() || null,
|
||||
venue_address: newEventVenueAddress.trim() || null,
|
||||
color: newEventColor,
|
||||
created_by: userId,
|
||||
})
|
||||
@@ -154,6 +156,7 @@
|
||||
newEventStartDate = "";
|
||||
newEventEndDate = "";
|
||||
newEventVenue = "";
|
||||
newEventVenueAddress = "";
|
||||
newEventColor = data.org.default_event_color || "#00A3E0";
|
||||
}
|
||||
|
||||
@@ -331,12 +334,19 @@
|
||||
</div>
|
||||
|
||||
<!-- Venue -->
|
||||
<Input
|
||||
variant="compact"
|
||||
label={m.events_form_venue()}
|
||||
bind:value={newEventVenue}
|
||||
placeholder={m.events_form_venue_placeholder()}
|
||||
/>
|
||||
<div class="flex flex-col gap-2">
|
||||
<Input
|
||||
variant="compact"
|
||||
label={m.events_form_venue()}
|
||||
bind:value={newEventVenue}
|
||||
placeholder={m.events_form_venue_placeholder()}
|
||||
/>
|
||||
<Input
|
||||
variant="compact"
|
||||
bind:value={newEventVenueAddress}
|
||||
placeholder={m.events_form_venue_address_placeholder()}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<!-- Color -->
|
||||
<div class="flex flex-col gap-1.5">
|
||||
|
||||
Reference in New Issue
Block a user