Trying to write If statement for table behavior


If table on page has data then click call to action
If table on page does not have data refresh the page

I attempted to do the following- Did not work
Command: if
Target: I used the select to highlight this Nothing found to display. but couldn’t add an operator to finish the statement.

When my table has data it has a class=“odd” value
When my table does not have data it has a class value=“empty”