diff --git a/app/javascript/dashboard/routes/dashboard/helpcenter/components/HelpCenterLayout.vue b/app/javascript/dashboard/routes/dashboard/helpcenter/components/HelpCenterLayout.vue index eed87f03d087a..853daa4832cb2 100644 --- a/app/javascript/dashboard/routes/dashboard/helpcenter/components/HelpCenterLayout.vue +++ b/app/javascript/dashboard/routes/dashboard/helpcenter/components/HelpCenterLayout.vue @@ -150,7 +150,7 @@ export default { }, accessibleMenuItems() { if (!this.selectedPortal) return []; - if (!this.adminMixin) return []; + if (!this.isAdmin) return []; const { allArticlesCount, diff --git a/app/jobs/digitaltolk/store_survey_responses_parquet_job.rb b/app/jobs/digitaltolk/store_survey_responses_parquet_job.rb index 089f02ab928ab..2b5d0f96998a8 100644 --- a/app/jobs/digitaltolk/store_survey_responses_parquet_job.rb +++ b/app/jobs/digitaltolk/store_survey_responses_parquet_job.rb @@ -2,7 +2,7 @@ class Digitaltolk::StoreSurveyResponsesParquetJob < ApplicationJob queue_as :default def perform(survey_response_ids, file_name) - @survey_responses = SurveyResponse.where(id: survey_response_ids) + @survey_responses = CsatSurveyResponse.where(id: survey_response_ids) if @survey_responses.present? Digitaltolk::SurveyResponsesParquetService.new(@survey_responses, file_name).perform