mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-26 18:51:50 +02:00
Combine tags with v1 tags
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user