Class: Avo::BacktraceAlertComponent

Inherits:
BaseComponent
  • Object
show all
Includes:
ApplicationHelper
Defined in:
app/components/avo/backtrace_alert_component.rb

Constant Summary

Constants included from Concerns::FindAssociationField

Concerns::FindAssociationField::ASSOCIATIONS

Instance Method Summary collapse

Methods included from ApplicationHelper

#a_button, #a_link, #button_classes, #card_classes, #chart_color, #decode_filter_params, #empty_state, #encode_filter_params, #frame_id, #get_model_class, #input_classes, #mount_path, #number_to_social, #render_license_warning, #root_path_without_url, #svg, #white_panel_classes

Methods included from ResourcesHelper

#field_wrapper, #filter_wrapper, #index_field_wrapper, #item_selector_data_attributes, #resource_grid, #resource_show_path, #resource_table

Methods inherited from BaseComponent

#has_with_trial

Methods included from Concerns::FindAssociationField

#find_association_field

Instance Method Details

#render?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'app/components/avo/backtrace_alert_component.rb', line 8

def render?
  @backtrace.present?
end