notifications: turn notification cell synchronous (#17109)
This commit is contained in:
parent
27f9a5e7dd
commit
71f0dd7b14
|
@ -135,9 +135,3 @@ class NotificationsCell(CellBase):
|
|||
if not new:
|
||||
return
|
||||
return {'badge': str(new)}
|
||||
|
||||
def render(self, context):
|
||||
self.context = context
|
||||
if not context.get('synchronous'):
|
||||
raise NothingInCacheException()
|
||||
return super(NotificationsCell, self).render(context)
|
||||
|
|
Loading…
Reference in New Issue