deleted topics shoundlt show unread

This commit is contained in:
Barış Soner Uşaklı
2024-02-07 11:06:32 -05:00
parent 3cab72b9ab
commit 4056d2c6da
3 changed files with 3 additions and 0 deletions

View File

@@ -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",

View File

@@ -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]) => {

View File

@@ -167,6 +167,7 @@ module.exports = function (Categories) {
topic.slug = topic.tid;
topic.teaser = null;
topic.noAnchor = true;
topic.unread = false;
topic.tags = [];
}
});