I have an SP list where the user is allowed to create folders and then add list item inside those folders. I have a flow attached to this list which gets triggered manually. I have added json formatting to show/hide the Manual trigger button based on the Content Approval status.
The issue I am having is that the json formatting also shows up on the folders created in the list. How can I only show the json formatting on list items and skip if there is a folder