mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
add all styles to perf graph
This commit is contained in:
parent
fca9805de5
commit
bc7092dc33
@ -141,7 +141,11 @@ class BasilController < ApplicationController
|
||||
[emoji, (count / total.to_f * 100).round(1)]
|
||||
end
|
||||
|
||||
active_styles = %w(realistic painting sketch digital anime abstract painting2 horror watercolor)
|
||||
active_styles = [
|
||||
BasilService.enabled_styles_for('Character'),
|
||||
BasilService.enabled_styles_for('Location')
|
||||
].flatten.compact.uniq
|
||||
|
||||
@total_score_per_style = BasilCommission.where(style: active_styles)
|
||||
.joins(:basil_feedbacks)
|
||||
.group(:style)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user