Skip to content

Commit

Permalink
Add update button now greyed out for completed projects
Browse files Browse the repository at this point in the history
  • Loading branch information
qhanson55 committed Dec 2, 2024
1 parent 2d013f6 commit 8795edb
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 8795edb

Please sign in to comment.