Fix missing max_errors assign in GlobalSettingsLive
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Set max_errors as socket assign in mount/3 to make it available in templates. Fixes KeyError in CSV import UI.
This commit is contained in:
parent
dc1acb815e
commit
2d1ddfa654
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ defmodule MvWeb.GlobalSettingsLive do
|
|||
|> assign(:import_progress, nil)
|
||||
|> assign(:import_status, :idle)
|
||||
|> assign(:locale, locale)
|
||||
|> assign(:max_errors, @max_errors)
|
||||
|> assign_form()
|
||||
# Configure file upload with auto-upload enabled
|
||||
# Files are uploaded automatically when selected, no need for manual trigger
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue