diff --git a/app/views/categories/_suggestions.html.erb b/app/views/categories/_suggestions.html.erb index ed50ebd..9195455 100644 --- a/app/views/categories/_suggestions.html.erb +++ b/app/views/categories/_suggestions.html.erb @@ -1,11 +1,10 @@ <%= turbo_frame_tag "frame-suggestions" do %> - <% if enqueued && DateTime.parse(enqueued) > context.suggestions_updated_at %> + <% if enqueued && (context.suggestions_updated_at.nil? || DateTime.parse(enqueued) > context.suggestions_updated_at) %>