Is there a way to check if an inline partial is defined? #1783
Unanswered
peter-affenzeller
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Checking if you found a solution to this? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in the inline partials example, the inline partials of nav and content are each wrapped inside a div.
if one of those partials is not defined, the wrapping div will still be created, which in my case leads to issues since I am using a grid container, which is creating a new row for the div and hence also gaps before/after the new row, even though there is nothing in it.
is there some way to check if the inline partial actually exists?
something like:
I couldn't find anything in the options passed to helper functions...
Beta Was this translation helpful? Give feedback.
All reactions