Compare commits
4
Commits
51c584056b
...
1.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
045faf59a4 | ||
|
|
152bee732f | ||
|
|
99188454e9 | ||
|
|
80e99b7de8 |
+15
-1
@@ -24,6 +24,20 @@ steps:
|
||||
commands:
|
||||
- mix test
|
||||
|
||||
- name: build the image
|
||||
image: plugins/kaniko
|
||||
settings:
|
||||
username: kklochko
|
||||
password:
|
||||
from_secret: REGISTRY_PASSWORD
|
||||
repo: git.kklochko.space/kklochko/decentralised_book_index
|
||||
registry: git.kklochko.space
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_TAG}
|
||||
when:
|
||||
event: tag
|
||||
|
||||
volumes:
|
||||
- name: mix
|
||||
temp: {}
|
||||
@@ -34,4 +48,4 @@ services:
|
||||
environment:
|
||||
POSTGRES_DB: decentralised_book_index_dev
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
|
||||
@@ -20,8 +20,6 @@ defmodule DecentralisedBookIndexWeb.Components.MyComponents.SelectedAuthor do
|
||||
|
||||
errors =
|
||||
if Phoenix.Component.used_input?(assigns.author_form), do: assigns.author_form.errors, else: []
|
||||
IO.inspect("errors")
|
||||
IO.inspect(errors)
|
||||
|
||||
assigns =
|
||||
assigns
|
||||
|
||||
@@ -106,7 +106,7 @@ defmodule DecentralisedBookIndexWeb.Components.MyPartials.Navbar do
|
||||
</a>
|
||||
</li>
|
||||
<% end %>
|
||||
<%= if @current_user != nil and Role.can_administrate?(@current_user.role) do %>
|
||||
<%= if @current_user != nil and Role.can_moderate?(@current_user.role) do %>
|
||||
<li>
|
||||
<a
|
||||
href={~p"/servers/"}
|
||||
|
||||
@@ -158,9 +158,6 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.FormComponent do
|
||||
end
|
||||
|
||||
def handle_event("select-author-alias", %{"author-alias" => author_alias_id}, socket) do
|
||||
IO.inspect("book_editions_registry_id")
|
||||
IO.inspect(author_alias_id)
|
||||
|
||||
socket =
|
||||
socket
|
||||
|> update(:form, fn form ->
|
||||
|
||||
Reference in New Issue
Block a user