Fixed monsters appearing in sidebar

This commit is contained in:
ThaumRystra
2025-01-25 21:18:09 +02:00
parent a6bf29ece1
commit bd6d5c34d3
2 changed files with 2 additions and 0 deletions

View File

@@ -136,6 +136,7 @@ export default {
{ {
_id: { $nin: folderChars }, _id: { $nin: folderChars },
$or: [{ readers: userId }, { writers: userId }, { owner: userId }], $or: [{ readers: userId }, { writers: userId }, { owner: userId }],
type: 'pc',
}, },
{ sort: { name: 1 } } { sort: { name: 1 } }
).map(characterTransform); ).map(characterTransform);

View File

@@ -33,6 +33,7 @@ Meteor.publish('characterList', function () {
picture: 1, picture: 1,
avatarPicture: 1, avatarPicture: 1,
public: 1, public: 1,
type: 1,
} }
} }
), ),