Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
chore(component): rename variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Argsfried committed Nov 23, 2022
1 parent db75b27 commit f612a0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/post/multiviewer/viewer/update_post_form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -360,10 +360,10 @@ function updateTags() {
}
const mayUpdateTag = computed<boolean>(() => {
const canCreate = permissionGroup.hasOneRoleAllowed(userProfile.data.roles.data, [
const canUpdate = permissionGroup.hasOneRoleAllowed(userProfile.data.roles.data, [
UPDATE
])
return canCreate
return canUpdate
})
watch(isShown, newValue => {
Expand Down

0 comments on commit f612a0c

Please sign in to comment.