diff --git a/lib/galaxy/web/framework/helpers/grids.py b/lib/galaxy/web/framework/helpers/grids.py index ca5706e3f11..b11409fb5aa 100644 --- a/lib/galaxy/web/framework/helpers/grids.py +++ b/lib/galaxy/web/framework/helpers/grids.py @@ -777,7 +777,7 @@ class GridOperation( object ): return dict( operation=self.label, id=item.id ) def allowed( self, item ): if self.condition: - return self.condition( item ) + return bool(self.condition( item )) else: return True