From 993249b9300aa3998dbf1890edaea54c72278ce4 Mon Sep 17 00:00:00 2001 From: kaira Date: Sun, 23 Jun 2024 22:18:26 +0100 Subject: [PATCH] Commit message: Refactored OrganizationForm and HomeView components, and updated store logic This commit includes significant changes to the OrganizationForm component, adding additional fields and improving the layout. The HomeView component has been simplified by removing the `layout-full-height` class. The organizationStore has been updated with additional data handling logic, including improved error handling and the addition of a `getCurrent` computed property. The OrganizationsList component now includes a row-key for better data tracking. Minor changes have also been made in other files, including the router configuration and the KneoFooter component. --- src/App.vue | 1 - src/components/common/KneoFooter.vue | 24 ++-- src/components/forms/OrganizationForm.vue | 130 ++++++++++++--------- src/components/lists/OrganizationsList.vue | 19 ++- src/router/index.ts | 3 +- src/stores/of/organizationStore.ts | 43 +++++-- src/types.ts | 6 +- src/views/HomeView.vue | 2 +- 8 files changed, 136 insertions(+), 92 deletions(-) diff --git a/src/App.vue b/src/App.vue index beebfec..fac4ab9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -13,7 +13,6 @@ - - diff --git a/src/components/forms/OrganizationForm.vue b/src/components/forms/OrganizationForm.vue index c7960d0..5f4916e 100644 --- a/src/components/forms/OrganizationForm.vue +++ b/src/components/forms/OrganizationForm.vue @@ -1,35 +1,80 @@