mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Bug fix for change set c996393163e1.
This commit is contained in:
@@ -117,7 +117,7 @@ class RepositoryListGrid( grids.Grid ):
|
||||
model.User.table.c.email == column_filter ) )
|
||||
class EmailAlertsColumn( grids.TextColumn ):
|
||||
def get_value( self, trans, grid, repository ):
|
||||
if trans.user.email in from_json_string( repository.email_alerts ):
|
||||
if repository.email_alerts and trans.user.email in from_json_string( repository.email_alerts ):
|
||||
return 'yes'
|
||||
return ''
|
||||
# Grid definition
|
||||
|
||||
Reference in New Issue
Block a user