feat: help modal for world page

This commit is contained in:
Julian Lam
2024-04-29 12:47:09 -04:00
parent b7ad4317cc
commit cf291a518d
5 changed files with 38 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ const intFields = [
const worldCategory = {
cid: -1,
name: 'Uncategorized',
description: 'Pseudo-category containing topics that do not strictly fit in with any existing categories',
description: 'Topics that do not strictly fit in with any existing categories',
icon: 'fa-globe',
imageClass: 'cover',
bgColor: '#eee',

View File

@@ -68,8 +68,6 @@ controller.list = async function (req, res) {
targetUid: targetUid,
});
data.name = '[[activitypub:world.name]]';
data.description = '[[activitypub:world.description]]';
data.descriptionParsed = data.description;
delete data.children;
data.topicCount = await db.sortedSetIntersectCard(sets);