diff --git a/app/views/repository_columns/manage_column_partials/_checklist.html.erb b/app/views/repository_columns/manage_column_partials/_checklist.html.erb index b0b8c1be0..cfa36aecf 100644 --- a/app/views/repository_columns/manage_column_partials/_checklist.html.erb +++ b/app/views/repository_columns/manage_column_partials/_checklist.html.erb @@ -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] %> diff --git a/app/views/repository_columns/manage_column_partials/_list.html.erb b/app/views/repository_columns/manage_column_partials/_list.html.erb index 6a33f9cbe..58f05982e 100644 --- a/app/views/repository_columns/manage_column_partials/_list.html.erb +++ b/app/views/repository_columns/manage_column_partials/_list.html.erb @@ -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] %>