You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is currently an issue with the team and user view of the avo dashboard in production:
The issue is, that in these views, a select_field (from avo) is used to display a time_zone value. The select_field uses options.invert[value].
In the User and Team model, these options get fed by view_context.time_zone_options_for_select(Avo::Current.user.time_zone, nil, ActiveSupport::TimeZone), which returns a ActiveSupport::SafeBuffer(String). This class doesn't implement an invert method.
In the development environment this works, because the colorize gem gets included, which implements this method for the String class. But in production, this gem/method is missing.
The text was updated successfully, but these errors were encountered:
There is currently an issue with the team and user view of the avo dashboard in production:
The issue is, that in these views, a select_field (from avo) is used to display a time_zone value. The select_field uses
options.invert[value]
.In the User and Team model, these
options
get fed byview_context.time_zone_options_for_select(Avo::Current.user.time_zone, nil, ActiveSupport::TimeZone)
, which returns aActiveSupport::SafeBuffer(String)
. This class doesn't implement aninvert
method.In the development environment this works, because the
colorize
gem gets included, which implements this method for the String class. But in production, this gem/method is missing.The text was updated successfully, but these errors were encountered: