mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-04 23:00:31 +01:00
deleted topics shoundlt show unread
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
"pinned": "Pinned",
|
||||
"pinned-with-expiry": "Pinned until %1",
|
||||
"scheduled": "Scheduled",
|
||||
"deleted": "Deleted",
|
||||
"moved": "Moved",
|
||||
"moved-from": "Moved from %1",
|
||||
"copy-code": "Copy Code",
|
||||
|
||||
@@ -301,6 +301,7 @@ module.exports = function (utils, Benchpress, relative_path) {
|
||||
['title', userObj.username],
|
||||
['data-uid', userObj.uid],
|
||||
['loading', 'lazy'],
|
||||
['aria-label', `User avatar for ${userObj.username}`],
|
||||
]);
|
||||
const styles = [`--avatar-size: ${size};`];
|
||||
const attr2String = attributes => Array.from(attributes).reduce((output, [prop, value]) => {
|
||||
|
||||
@@ -167,6 +167,7 @@ module.exports = function (Categories) {
|
||||
topic.slug = topic.tid;
|
||||
topic.teaser = null;
|
||||
topic.noAnchor = true;
|
||||
topic.unread = false;
|
||||
topic.tags = [];
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user