Skip to content

Commit

Permalink
fix: title content editable by guests/non-owners
Browse files Browse the repository at this point in the history
  • Loading branch information
mdshack committed Jan 15, 2024
1 parent 680407f commit dffc43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/Pages/Shots/Partials/ShotDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const deleteShot = () => {
<h1
class="text-xl font-semibold"
:class="{'text-gray-400 italic': !shot.name}"
contenteditable
:contenteditable="isOwner"
@keydown.enter.prevent="updateName">
{{shot.name ?? "Unnamed Shot"}}
</h1>
Expand Down

0 comments on commit dffc43d

Please sign in to comment.