@@ -185,6 +207,7 @@ onMounted(async () => {
{{ t('housing.drafts') }}
@@ -205,24 +228,29 @@ onMounted(async () => {
{{ t('housing.generalEnquiries') }}
-
-
-
+
diff --git a/frontend/src/views/housing/project/ProjectView.vue b/frontend/src/views/housing/project/ProjectView.vue
index cf0c5f1d..d4a2c2e5 100644
--- a/frontend/src/views/housing/project/ProjectView.vue
+++ b/frontend/src/views/housing/project/ProjectView.vue
@@ -250,12 +250,25 @@ onMounted(async () => {
{{ getSubmission.projectName }}
{
/>
What does the status mean?
diff --git a/frontend/tests/unit/components/file/DeleteDocument.spec.ts b/frontend/tests/unit/components/file/DeleteDocument.spec.ts
index da3dafe3..922fb087 100644
--- a/frontend/tests/unit/components/file/DeleteDocument.spec.ts
+++ b/frontend/tests/unit/components/file/DeleteDocument.spec.ts
@@ -10,6 +10,12 @@ import Tooltip from 'primevue/tooltip';
import type { Document } from '@/types';
+vi.mock('vue-i18n', () => ({
+ useI18n: () => ({
+ t: vi.fn()
+ })
+}));
+
vi.mock('vue-router', () => ({
useRouter: () => ({
push: vi.fn(),
diff --git a/frontend/tests/unit/components/file/DocumentCard.spec.ts b/frontend/tests/unit/components/file/DocumentCard.spec.ts
index 82c4fd21..f97c0bd6 100644
--- a/frontend/tests/unit/components/file/DocumentCard.spec.ts
+++ b/frontend/tests/unit/components/file/DocumentCard.spec.ts
@@ -14,6 +14,12 @@ import type { Document } from '@/types';
const useUserService = vi.spyOn(userService, 'searchUsers');
+vi.mock('vue-i18n', () => ({
+ useI18n: () => ({
+ t: vi.fn()
+ })
+}));
+
vi.mock('vue-router', () => ({
useRouter: () => ({
push: vi.fn(),
diff --git a/frontend/tests/unit/views/housing/HousingView.spec.ts b/frontend/tests/unit/views/housing/HousingView.spec.ts
index 031362c2..1cd62169 100644
--- a/frontend/tests/unit/views/housing/HousingView.spec.ts
+++ b/frontend/tests/unit/views/housing/HousingView.spec.ts
@@ -13,6 +13,11 @@ vi.mock('vue-i18n', () => ({
}));
vi.mock('vue-router', () => ({
+ useRoute: () => ({
+ query: {},
+ params: {},
+ name: 'housing-route'
+ }),
useRouter: () => ({
push: vi.fn()
})