From 3cc812a547673fc3df9e08ff682299bcb2123e8c Mon Sep 17 00:00:00 2001 From: martintomas Date: Thu, 31 Aug 2023 10:52:08 +0200 Subject: [PATCH] feat: Support 5STAR level --- app/assets/images/icons/star.svg | 2 +- app/models/mq/assessment.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/images/icons/star.svg b/app/assets/images/icons/star.svg index 09339f0e7..bc8c0dc90 100644 --- a/app/assets/images/icons/star.svg +++ b/app/assets/images/icons/star.svg @@ -6,7 +6,7 @@ - + diff --git a/app/models/mq/assessment.rb b/app/models/mq/assessment.rb index 38211fdbc..d335aa67e 100644 --- a/app/models/mq/assessment.rb +++ b/app/models/mq/assessment.rb @@ -20,7 +20,7 @@ class Assessment < ApplicationRecord include DiscardableModel include TPICache - LEVELS = %w[0 1 2 3 4 4STAR 5].freeze + LEVELS = %w[0 1 2 3 4 4STAR 5 5STAR].freeze BETA_METHODOLOGIES = { # taken into account only when beta is enabled 5 => {levels: %w[5], highlight_questions: %w[18]} }.freeze