diff --git a/strr-base-web/app/composables/useStrrApi.ts b/strr-base-web/app/composables/useStrrApi.ts index 6884d207..7fc2557c 100644 --- a/strr-base-web/app/composables/useStrrApi.ts +++ b/strr-base-web/app/composables/useStrrApi.ts @@ -28,11 +28,12 @@ export const useStrrApi = () => { return undefined }) } - // TODO: add type filter in call (need in api first) - const resp = await $strrApi<{ applications: T[] }>('/applications') - return type - ? resp.applications?.filter(app => app.registration.registrationType === type) - : resp.applications + const resp = await $strrApi<{ applications: T[] }>('/applications', { + query: { + registrationType: type + } + }) + return resp.applications } const postApplication = async (body: T) => { diff --git a/strr-host-pm-web/package.json b/strr-host-pm-web/package.json index 2cdfc108..37844fd2 100644 --- a/strr-host-pm-web/package.json +++ b/strr-host-pm-web/package.json @@ -2,7 +2,7 @@ "name": "strr-host-pm-web", "private": true, "type": "module", - "version": "0.0.13", + "version": "0.0.14", "scripts": { "build-check": "nuxt build", "build": "nuxt generate", diff --git a/strr-platform-web/package.json b/strr-platform-web/package.json index 508e387b..b70ce012 100644 --- a/strr-platform-web/package.json +++ b/strr-platform-web/package.json @@ -2,7 +2,7 @@ "name": "strr-platform-web", "private": true, "type": "module", - "version": "0.0.27", + "version": "0.0.28", "scripts": { "build-check": "nuxt build", "build": "nuxt generate", diff --git a/strr-strata-web/app/components/form/StrataDetails.vue b/strr-strata-web/app/components/form/StrataDetails.vue index c3d723f8..a903ef41 100644 --- a/strr-strata-web/app/components/form/StrataDetails.vue +++ b/strr-strata-web/app/components/form/StrataDetails.vue @@ -108,6 +108,7 @@ onMounted(async () => { :form-ref="strataDetailsFormRef" :disabled-fields="['country', 'region']" :excluded-fields="['streetName', 'streetNumber', 'unitNumber']" + :use-location-desc-label="true" />

- +