Skip to content

Commit f7a0143

Browse files
author
Nicholas Newberry
committed
fix "selected" error on show document
1 parent bb36c0a commit f7a0143

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/documents/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="flex">
2-
<%= render "shared/collection_list", collections: @collections %>
2+
<%= render "shared/collection_list", collections: @collections, selected: @document.collection %>
33

44
<div id="collection_area" class="overflow-y-scroll flex-1 h-screen bg-secondary-100 dark:bg-secondary-950 flextext-gray-700 dark:text-secondary-200">
55
<%= render "shared/notice" %>

0 commit comments

Comments
 (0)