Implement dropdown to show/hide columns in member overview closes #209 #240
1 changed files with 2 additions and 2 deletions
|
|
@ -292,12 +292,12 @@ defmodule MvWeb.MemberLive.Index do
|
|||
# Save to session (cookie will be saved on next page load via handle_params)
|
||||
socket = update_session_field_selection(socket, new_selection)
|
||||
|
||||
# Merge with global settings
|
||||
# Merge with global settings (use all_custom_fields to allow enabling globally hidden fields)
|
||||
final_selection =
|
||||
FieldVisibility.merge_with_global_settings(
|
||||
new_selection,
|
||||
socket.assigns.settings,
|
||||
socket.assigns.custom_fields_visible
|
||||
socket.assigns.all_custom_fields
|
||||
)
|
||||
|
||||
# Get visible fields
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue