Skip to content

Commit

Permalink
Merge pull request #282 from bcgov/new-request-dialog-fix
Browse files Browse the repository at this point in the history
added a ?
  • Loading branch information
jenbeckett authored Jul 10, 2024
2 parents 2c527cb + 92fa941 commit d0ece0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/messages/NewRequestDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ export default {
}
this.resetModelData(this.isAccountMaintenanceRequest)
// Reset the Selected Facility if not allowed
if (!isEmpty(this.newRequestModel.facilities) && !this.filteredFacilties.some((fac) => fac.facilityId === this.newRequestModel.facilities[0]?.facilityId)) {
if (!isEmpty(this.newRequestModel.facilities) && !this.filteredFacilties?.some((fac) => fac.facilityId === this.newRequestModel.facilities[0]?.facilityId)) {
this.newRequestModel.facilities = []
}
},
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@
</v-col>
</v-row>
</v-container>

<SignFundingPopup v-if="hasPermission(PERMISSIONS.VIEW_FUNDING_AGREEMENT)" @loading="setLoading" />
<NewRequestDialog :show="showAssistanceRequestDialog" @close="toggleAssistanceRequestDialog" />
<NewRequestDialog v-if="hasPermission(PERMISSIONS.MANAGE_NOTIFICATIONS)" :show="showAssistanceRequestDialog" @close="toggleAssistanceRequestDialog" />
</template>

<script>
Expand Down

0 comments on commit d0ece0b

Please sign in to comment.