Add Condition In Field View Replacement pattern In Drupal 8/9 View

Add Condition In Field View Replacement pattern In Drupal 8/9 View

In this below code, the condition get and check the last login value and if zero then set never logged in message 

Add Condition in view field

{% if access__value == "0" %}
  <p>Never logged in<p>
{% else %}
   {{ access }}
{% endif %}