Skip to content

Commit 66ba750

Browse files
committed
Update API endpoint for user session in nuxt.config.ts and improve filter display in searchfilters/index.vue
1 parent 2bcda22 commit 66ba750

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default defineNuxtConfig({
7878
headers: { 'Content-Type': 'application/json' },
7979
},
8080
logout: { url: `${SESAME_APP_API_URL}/core/auth/logout`, method: 'post' },
81-
user: { url: `${SESAME_APP_API_URL}/core/auth/session`, method: 'get'},
81+
user: { url: `${SESAME_APP_API_URL}/core/auth/session`, method: 'get' },
8282
},
8383
redirect: {
8484
logout: '/login',

src/components/searchfilters/index.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88
q-chip(
99
v-for="filter in filterArray" :key="filter.field"
1010
removable @remove="removeFilter(filter)"
11-
) {{ filter.label }} {{ filter.comparator }} {{ filter.search }}
11+
)
12+
| {{ filter.label }}
13+
q-separator.q-mx-xs(vertical)
14+
| {{ filter.comparator }}
15+
q-separator.q-mx-xs(vertical)
16+
| "{{ filter.search }}"
1217
</template>
1318

1419
<script lang="ts" setup>

0 commit comments

Comments
 (0)