fix credo warning for is_owner?
This commit is contained in:
		| @@ -33,7 +33,7 @@ | ||||
|     > | ||||
|       <:actions :let={note}> | ||||
|         <.link | ||||
|           :if={Notes.is_owner?(note, @current_user)} | ||||
|           :if={Notes.owner?(note, @current_user)} | ||||
|           patch={~p"/notes/#{note}/edit"} | ||||
|           aria-label={dgettext("actions", "edit %{note_slug}", note_slug: note.slug)} | ||||
|         > | ||||
|   | ||||
| @@ -17,7 +17,7 @@ | ||||
|  | ||||
|   <div class="self-end flex space-x-4"> | ||||
|     <.link | ||||
|       :if={Notes.is_owner?(@note, @current_user)} | ||||
|       :if={Notes.owner?(@note, @current_user)} | ||||
|       class="btn btn-primary" | ||||
|       patch={~p"/note/#{@note}/edit"} | ||||
|     > | ||||
|   | ||||
		Reference in New Issue
	
	Block a user