{# LIBRARIES #}
{{ attach_library('altcom_ajax/altcom_ajax') }}
{{ attach_library('ui_patterns/jc_summary.jc_summary_lib') }}

{% set pass_through = element.pass_through|default({}) %}
<!-- JC Block - Dropdown -->
<div id="jcssw" class="h-100">
  {% set loader %}
    <div class="service-loader jcd-loader">
      {% include "@molecules/tm-bs/spinner/spinner.twig" with {
        'size': 'sm', 'show_text': true, 'status': 'default'
      } only %}
    </div>
  {% endset %}
  {{ altcom_ajax_link(
    loader,
    "journey_check_summary_status",
    "self", {'pass_through': pass_through}, 0, 2)
  }}
</div>
<!-- / JC Block -->
