From 69654e22c71cf4ab052567de525ef5436d617bc6 Mon Sep 17 00:00:00 2001 From: Brittny Lapierre Date: Mon, 6 Nov 2023 12:13:10 -0500 Subject: [PATCH] Sidebar component direct load --- app/components/blacklight/document_component.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/components/blacklight/document_component.html.erb b/app/components/blacklight/document_component.html.erb index be7c91d1e..4e9d7ffe9 100644 --- a/app/components/blacklight/document_component.html.erb +++ b/app/components/blacklight/document_component.html.erb @@ -13,8 +13,7 @@ <% else %>

- - <%= content_for(:sidebar) %> + <%= render(SidebarComponent.new()) %> <%= title %> <% if @component.to_s == 'div' %> <%= render(ViewerComponent.new(documentId: @document.id, prefix: 'oocihm')) %>