This commit is contained in:
BoHung Chiu 2022-03-01 16:44:05 +08:00
parent f85df36098
commit d8f4e16f0e
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ class AnnouncementsController < ApplicationController
@enable_search_flag = true
end
when @show_option_items.keys[2].to_s
value = YAML.load(select_option_item.value)
tmp = value[:en]
if tmp == t('announcement.small_size')
@image_version = 'thumb'
elsif tmp == t('announcement.medium_size')