Issue #3198471 by agami4: Add condition for the location block

Closes #3198480

Merge request reports

Loading