Update default delimiter for new records

This commit is contained in:
Urban Rotnik 2020-01-17 12:14:50 +01:00
parent 6bf08a9f3d
commit 58ed1d3f8a
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<%
delimiters = defined_delimiters_options
selected_delimiter = column.metadata['delimiter'] || 'return'
selected_delimiter = column.new_record? ? 'auto' : column.metadata['delimiter'] || 'return'
selected_delimiter_char = Constants::REPOSITORY_LIST_ITEMS_DELIMITERS_MAP[selected_delimiter.to_sym]
%>

View file

@ -1,6 +1,6 @@
<%
delimiters = defined_delimiters_options
selected_delimiter = column.metadata['delimiter'] || 'return'
selected_delimiter = column.new_record? ? 'auto' : column.metadata['delimiter'] || 'return'
selected_delimiter_char = Constants::REPOSITORY_LIST_ITEMS_DELIMITERS_MAP[selected_delimiter.to_sym]
%>