Skip to content

Commit

Permalink
fix helpcenter and parquet
Browse files Browse the repository at this point in the history
  • Loading branch information
jderecho committed Jul 10, 2024
1 parent f585932 commit f1fd475
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default {
},
accessibleMenuItems() {
if (!this.selectedPortal) return [];
if (!this.adminMixin) return [];
if (!this.isAdmin) return [];
const {
allArticlesCount,
Expand Down
2 changes: 1 addition & 1 deletion app/jobs/digitaltolk/store_survey_responses_parquet_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f1fd475

Please sign in to comment.