Skip to content

Commit

Permalink
Merge branch 'release/v1.24.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
appsol committed Mar 14, 2024
2 parents f9e030b + d2e8058 commit 0f74d99
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/views/service-locations/Show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<service-location-details :service-location="serviceLocation" />

<template v-if="auth.isServiceAdmin(serviceLocation.service.id)">
<template v-if="auth.isServiceAdmin(serviceLocation.service_id)">
<gov-body
>Please be certain of the action before deleting a service
location</gov-body
Expand All @@ -41,7 +41,7 @@
</template>
</gov-grid-column>
<gov-grid-column
v-if="auth.isServiceAdmin(serviceLocation.service.id)"
v-if="auth.isServiceAdmin(serviceLocation.service_id)"
width="one-third"
class="text-right"
>
Expand Down
7 changes: 5 additions & 2 deletions src/views/services/inputs/UsefulInfosInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
:id="`useful_infos.${index}.description`"
label="Description"
hint="Provide detail to the title above. For example, if you picked ‘Parking’ you might say “There is no parking available on site, however there is pay and display opposite”."
:maxlength="150"
:maxlength="1000"
:error="errors.get(`useful_infos.${index}.description`)"
:extensions="extensions"
/>
Expand Down Expand Up @@ -132,7 +132,10 @@ export default {
usefulInfos.find(
usefulInfo => usefulInfo.title === usefulInfoTitleOption.value
) !== undefined;
const newOption = { ...usefulInfoTitleOption, disabled: hasBeenUsed };
const newOption = {
...usefulInfoTitleOption,
disabled: hasBeenUsed
};
this.$set(this.usefulInfoTitleOptions, index, newOption);
});
},
Expand Down

0 comments on commit 0f74d99

Please sign in to comment.