Check if embedded view empty or not

Created on 28 April 2009, about 15 years ago
Updated 16 May 2024, about 1 month ago

How would I go about checking if an embedded view is empty or not? I tried using the empty() function, but since the view has HTML code links to edit, clone, etc., it doesn't appear as being empty even though there's no data there.

The reason I ask is that I'm printing a title above the embedded view which displays regardless of whether there's anything there or not - not ideal. Any assistance would be much appreciated!

πŸ’¬ Support request
Status

Fixed

Version

3.3

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.69.0 2024