this was the best solution i found. we only display the menu node if the display option is true and there is a label. this way display can default to true and the user can unset it to hide the menu, or edit the label and it starts appearing.
the only wtf would be when he adds a label and had set display to false previously. but whatever, that really is an edge case.
this was the best solution i found. we only display the menu node if the display option is true and there is a label. this way
display
can default to true and the user can unset it to hide the menu, or edit the label and it starts appearing.the only wtf would be when he adds a label and had set display to false previously. but whatever, that really is an edge case.