From 7fcd0d9cc65d405558ba62af6d78839196ac136b Mon Sep 17 00:00:00 2001 From: Vincent Auger Date: Thu, 14 Nov 2024 13:58:52 -0400 Subject: [PATCH] feat: add default organization ID to environment and enhance organization select component --- .env.example | 1 + .../models/Author/components/AuthorSelect.vue | 4 +- .../components/OrganizationSelect.vue | 37 ++++++++++++++++++- 3 files changed, 38 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index a803a60a..617dcfb3 100644 --- a/.env.example +++ b/.env.example @@ -77,6 +77,7 @@ VITE_PUSHER_SCHEME="${PUSHER_SCHEME}" VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" VITE_IDLE_TIMER_MIN=30 +VITE_OSP_DEFAULT_ORG_ID=1 OHDEAR_ENABLED=false OHDEAR_URL="" diff --git a/resources/src/models/Author/components/AuthorSelect.vue b/resources/src/models/Author/components/AuthorSelect.vue index 5480491b..0ac64a86 100644 --- a/resources/src/models/Author/components/AuthorSelect.vue +++ b/resources/src/models/Author/components/AuthorSelect.vue @@ -1,6 +1,6 @@