Hides actions if the path returned is empty