mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Combine tags with v1 tags
This commit is contained in:
parent
020e8ab8c4
commit
ec64d1fab9
1 changed files with 2 additions and 1 deletions
|
@ -166,7 +166,8 @@ module.exports = ProjectController =
|
|||
logger.err err:err, "error getting data for project list page"
|
||||
return next(err)
|
||||
logger.log results:results, user_id:user_id, "rendering project list"
|
||||
tags = results.tags[0]
|
||||
v1Tags = results.v1Projects?.tags or []
|
||||
tags = results.tags[0].concat(v1Tags)
|
||||
notifications = require("underscore").map results.notifications, (notification)->
|
||||
notification.html = req.i18n.translate(notification.templateKey, notification.messageOpts)
|
||||
return notification
|
||||
|
|
Loading…
Reference in a new issue