diff --git a/frontend/src/utils/constants/housing.ts b/frontend/src/utils/constants/housing.ts index 378e81c4..dab0b4ec 100644 --- a/frontend/src/utils/constants/housing.ts +++ b/frontend/src/utils/constants/housing.ts @@ -86,8 +86,8 @@ export const PROJECT_RELATIONSHIP_LIST = [ export const PERMIT_AUTHORIZATION_STATUS_LIST = [ PermitAuthorizationStatus.NONE, - PermitAuthorizationStatus.PENDING, PermitAuthorizationStatus.IN_REVIEW, + PermitAuthorizationStatus.PENDING, PermitAuthorizationStatus.ISSUED, PermitAuthorizationStatus.DENIED, PermitAuthorizationStatus.CANCELLED, @@ -99,9 +99,9 @@ export const PERMIT_NEEDED_LIST = [PermitNeeded.YES, PermitNeeded.UNDER_INVESTIG export const PERMIT_STATUS_LIST = [ PermitStatus.NEW, - PermitStatus.PENDING, - PermitStatus.TECHNICAL_REVIEW, PermitStatus.APPLIED, + PermitStatus.TECHNICAL_REVIEW, + PermitStatus.PENDING, PermitStatus.COMPLETED ]; diff --git a/frontend/src/views/housing/project/ProjectView.vue b/frontend/src/views/housing/project/ProjectView.vue index 414a860d..9573fa75 100644 --- a/frontend/src/views/housing/project/ProjectView.vue +++ b/frontend/src/views/housing/project/ProjectView.vue @@ -91,6 +91,14 @@ const permitsSubmitted: ComputedRef> = computed(() => { .sort(permitBusinessSortFcn); }); +const permitsUnderinvestigation: ComputedRef> = computed(() => { + return permitFilter({ + permitNeeded: PermitNeeded.UNDER_INVESTIGATION, + permits: getPermits.value, + permitTypes: getPermitTypes.value + }); +}); + // Actions const router = useRouter(); const toast = useToast(); @@ -214,7 +222,8 @@ onMounted(async () => {