diff --git a/ui/src/App.vue b/ui/src/App.vue index 1df0e07..7e208d0 100644 --- a/ui/src/App.vue +++ b/ui/src/App.vue @@ -29,12 +29,12 @@ const version = import.meta.env.VITE_APPLICATION_VERSION; background-position: center;">
- - + +

Development environment (v{{ version }}). Features may be incomplete or unavailable.

- +

You are on LOA until {{ formatDate(userStore.user?.LOAs?.[0].extended_till || userStore.user?.LOAs?.[0].end_date) }}

diff --git a/ui/src/components/calendar/ViewCalendarEvent.vue b/ui/src/components/calendar/ViewCalendarEvent.vue index 3f2fb39..cb40420 100644 --- a/ui/src/components/calendar/ViewCalendarEvent.vue +++ b/ui/src/components/calendar/ViewCalendarEvent.vue @@ -31,9 +31,14 @@ watch( { immediate: true } ); +watch(loaded, (value) => { + if (value) emit('load'); +}); + const emit = defineEmits<{ (e: 'close'): void (e: 'reload'): void + (e: 'load'): void (e: 'edit', event: CalendarEvent): void }>() @@ -179,7 +184,7 @@ defineExpose({ forceReload }) \ No newline at end of file diff --git a/ui/src/components/ui/button/index.js b/ui/src/components/ui/button/index.js index 2650455..77b8884 100644 --- a/ui/src/components/ui/button/index.js +++ b/ui/src/components/ui/button/index.js @@ -16,7 +16,7 @@ export const buttonVariants = cva( secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80", ghost: - "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50", + "hover:bg-accent active:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50", success: "bg-success text-success-foreground shadow-xs hover:bg-success/90", link: "text-primary underline-offset-4 hover:underline", diff --git a/ui/src/pages/Calendar.vue b/ui/src/pages/Calendar.vue index 954e316..efef877 100644 --- a/ui/src/pages/Calendar.vue +++ b/ui/src/pages/Calendar.vue @@ -155,7 +155,7 @@ onMounted(() => {
-
+
@@ -208,10 +208,10 @@ onMounted(() => {