Remove flash message for client error
This commit is contained in:
@@ -154,18 +154,6 @@ defmodule MusicLibraryWeb.CoreComponents do
|
||||
<div id={@id}>
|
||||
<.flash kind={:info} title={gettext("Success!")} flash={@flash} />
|
||||
<.flash kind={:error} title={gettext("Error!")} flash={@flash} />
|
||||
<.flash
|
||||
id="client-error"
|
||||
kind={:error}
|
||||
title={gettext("We can't find the internet")}
|
||||
phx-disconnected={show(".phx-client-error #client-error")}
|
||||
phx-connected={hide("#client-error")}
|
||||
hidden
|
||||
>
|
||||
{gettext("Attempting to reconnect")}
|
||||
<.icon name="hero-arrow-path" class="ml-1 h-3 w-3 animate-spin" />
|
||||
</.flash>
|
||||
|
||||
<.flash
|
||||
id="server-error"
|
||||
kind={:error}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/components/core_components.ex:512
|
||||
#: lib/music_library_web/components/core_components.ex:500
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Actions"
|
||||
msgstr ""
|
||||
@@ -23,11 +23,6 @@ msgstr ""
|
||||
msgid "Are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/components/core_components.ex:165
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Attempting to reconnect"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/live/stats_live/index.html.heex:3
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Basics"
|
||||
@@ -100,7 +95,7 @@ msgstr ""
|
||||
msgid "Genres"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/components/core_components.ex:177
|
||||
#: lib/music_library_web/components/core_components.ex:165
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Hang in there while we get back on track"
|
||||
msgstr ""
|
||||
@@ -252,7 +247,7 @@ msgstr ""
|
||||
msgid "Showing <b>%{visible}</b> of <b>%{total}</b> records"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/components/core_components.ex:172
|
||||
#: lib/music_library_web/components/core_components.ex:160
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Something went wrong!"
|
||||
msgstr ""
|
||||
@@ -307,11 +302,6 @@ msgstr ""
|
||||
msgid "View on MusicBrainz"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/components/core_components.ex:160
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "We can't find the internet"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/controllers/session_html/new.html.heex:5
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Welcome to your Music Library"
|
||||
|
||||
Reference in New Issue
Block a user