Fixed the AuthorCard edit url.
continuous-integration/drone/push Build is passing Details

dev
KKlochko 3 months ago
parent 69612a0d4a
commit 396b1eb0be

@ -18,7 +18,7 @@ defmodule DecentralisedBookIndexWeb.Components.MyComponents.AuthorCard do
<div id={"dropdown#{@author.id}"} class="z-10 hidden text-base list-none bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700"> <div id={"dropdown#{@author.id}"} class="z-10 hidden text-base list-none bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700">
<ul class="py-2" aria-labelledby="dropdownButton"> <ul class="py-2" aria-labelledby="dropdownButton">
<li> <li>
<.link navigate={~p"/authors/#{@author.id}"} <.link navigate={~p"/authors/#{@author.id}/edit"}
class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white"
> >
Edit Edit

Loading…
Cancel
Save