From abb85589c2a371bd896f96eb209b43051921f356 Mon Sep 17 00:00:00 2001 From: stopflock Date: Wed, 15 Jul 2026 13:49:30 -0500 Subject: [PATCH] reorder items, try again to fix store desc line breaks --- webapp/src/App.vue | 5 +++-- webapp/src/views/Store.vue | 25 +++++++++++++++++++------ 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/webapp/src/App.vue b/webapp/src/App.vue index 6b669c1..0b85fa2 100644 --- a/webapp/src/App.vue +++ b/webapp/src/App.vue @@ -44,17 +44,18 @@ const items = [ ] const resourceItems = [ + { title: 'FAQ', icon: 'mdi-help-circle', to: '/what-is-an-alpr' }, { title: 'Public Records', icon: 'mdi-file-document', to: '/foia' }, { title: 'City Council', icon: 'mdi-account-voice', to: '/council' }, - { title: 'FAQ', icon: 'mdi-help-circle', to: '/what-is-an-alpr' }, ] const getInvolvedItems = [ + { title: 'Submit Cameras', icon: 'mdi-map-marker-plus', to: '/report' }, { title: 'Local Groups', icon: 'mdi-account-group', to: '/groups' }, { title: 'Contact', icon: 'mdi-email-outline', to: '/contact' }, { title: 'GitHub', icon: 'mdi-github', href: 'https://github.com/frillweeman/deflock'}, - { title: 'Submit Cameras', icon: 'mdi-map-marker-plus', to: '/report' }, ]; + const drawer = ref(false) diff --git a/webapp/src/views/Store.vue b/webapp/src/views/Store.vue index 6258344..0ccd733 100644 --- a/webapp/src/views/Store.vue +++ b/webapp/src/views/Store.vue @@ -57,12 +57,11 @@ - -

- {{ collectionDescription }} -

+ +
+ @@ -601,7 +600,7 @@ async function fetchCollectionDescription(id: string): Promise { query: ` query CollectionDescription($id: ID!) { collection(id: $id) { - description + descriptionHtml } } `, @@ -613,7 +612,8 @@ async function fetchCollectionDescription(id: string): Promise { return; } const json = await response.json(); - collectionDescription.value = json?.data?.collection?.description ?? ''; + collectionDescription.value = json?.data?.collection?.descriptionHtml ?? ''; + } catch { collectionDescription.value = ''; } @@ -765,3 +765,16 @@ onMounted(() => { fetchCollectionDescription(collectionId.value); }); + + +