From 9205d91a0b0607cc8a77621d0e3a2fb1fd22b7af Mon Sep 17 00:00:00 2001 From: KKlochko Date: Thu, 24 Apr 2025 21:48:59 +0300 Subject: [PATCH] Fix the Book FormComponent to add AuthorRoles if a new book. --- .../live/book_live/form_component.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/decentralised_book_index_web/live/book_live/form_component.ex b/lib/decentralised_book_index_web/live/book_live/form_component.ex index e46fa13..2288a2a 100644 --- a/lib/decentralised_book_index_web/live/book_live/form_component.ex +++ b/lib/decentralised_book_index_web/live/book_live/form_component.ex @@ -27,7 +27,7 @@ defmodule DecentralisedBookIndexWeb.BookLive.FormComponent do label="Description" /> <.bids_inputs form={@form} myself={@myself} /> - <.author_roles_inputs form={@form} myself={@myself} /> + <.author_roles_inputs form={@form} myself={@myself} notify_component={@myself} /> <.input field={@form[:format]} type="text" label="Format" /> <.input field={@form[:language]}