From e01e973d767bac9078710f5436392ea066fdf882 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 22 Oct 2023 17:42:56 +0200 Subject: [PATCH] Apply review suggestion from @nilsding Co-authored-by: Georg Gadinger --- app/components/question_component.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/question_component.rb b/app/components/question_component.rb index 82b9cd93..afebfdda 100644 --- a/app/components/question_component.rb +++ b/app/components/question_component.rb @@ -8,7 +8,7 @@ class QuestionComponent < ApplicationComponent def initialize(question:, context_user: nil, collapse: true, hide_avatar: false, profile_question: false) @question = question @context_user = context_user - @collapse = true + @collapse = collapse @hide_avatar = hide_avatar @profile_question = profile_question end