Merge master

This commit is contained in:
Jimmy 2021-03-31 07:49:30 +08:00
commit e2f5b5e933
24 changed files with 272 additions and 234 deletions

View file

@ -273,7 +273,7 @@ class Event < ApplicationRecord
biographies: speakers.all? { |speaker| !speaker.biography.blank? },
subtitle: !subtitle.blank?,
track: (!track.blank? unless program.tracks.empty?),
difficulty_level: !difficulty_level.blank?,
difficulty_level: (difficulty_level.present? unless program.difficulty_levels.empty?),
title: true,
abstract: true
}.with_indifferent_access