Skip to content

Commit

Permalink
Merge pull request #208 from bcgov/bug/greyout-add-updates
Browse files Browse the repository at this point in the history
Permit Add update button now greyed out for completed projects
  • Loading branch information
kyle1morel authored Dec 2, 2024
2 parents 2d013f6 + 8795edb commit 1b738d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/permit/PermitCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function isCompleted(authStatus: string | undefined): boolean {
<Button
class="p-button-outlined"
aria-label="Add updates"
:disabled="!useAuthZStore().can(Initiative.HOUSING, Resource.PERMIT, Action.UPDATE)"
:disabled="!editable || !useAuthZStore().can(Initiative.HOUSING, Resource.PERMIT, Action.UPDATE)"
@click="NotesModalVisible = true"
>
<font-awesome-icon
Expand Down

0 comments on commit 1b738d0

Please sign in to comment.