2 Commits

  1. 9
      CHANGELOG.md
  2. 4
      lib/mirage_web/live/search_live.html.leex
  3. 2
      mix.exs

9
CHANGELOG.md

@ -5,6 +5,15 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.82.1](https://git.inhji.de/inhji/mirage/compare/v0.82.0...v0.82.1) (2021-03-20)
### Bug Fixes:
* search results
## [v0.82.0](https://git.inhji.de/inhji/mirage/compare/v0.81.0...v0.82.0) (2021-03-20)

4
lib/mirage_web/live/search_live.html.leex

@ -18,7 +18,7 @@
</div>
<% else %>
<%= for {result, index} <- @results |> Enum.with_index() do %>
<%= if result.type == :note do %>
<%= if result.type == "note" do %>
<article>
<%= live_redirect to: Routes.note_show_path(@socket, :show, result.id) do %>
<h2><strong><%= result.title %></strong></h2>
@ -26,7 +26,7 @@
</article>
<% end %>
<%= if result.type == :link do %>
<%= if result.type == "link" do %>
<article>
<%= live_redirect to: Routes.link_show_path(@socket, :show, result.id) do %>
<h2><strong><%= result.title %></strong></h2>

2
mix.exs

@ -1,7 +1,7 @@
defmodule Mirage.MixProject do
use Mix.Project
@version "0.82.0"
@version "0.82.1"
def project do
[

Loading…
Cancel
Save