mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-23 07:51:18 +01:00
Sort tag folder inline avatars too
This commit is contained in:
parent
068b542c50
commit
a6333f3285
@ -1465,6 +1465,9 @@ export function getEntitiesList({ doFilter = false, doSort = true } = {}) {
|
|||||||
// sub entities filter "hacked" because folder filter should not be applied there, so even in "only folders" mode characters show up
|
// sub entities filter "hacked" because folder filter should not be applied there, so even in "only folders" mode characters show up
|
||||||
subEntities = entitiesFilter.applyFilters(subEntities, { clearScoreCache: false, tempOverrides: { [FILTER_TYPES.FOLDER]: FILTER_STATES.UNDEFINED } });
|
subEntities = entitiesFilter.applyFilters(subEntities, { clearScoreCache: false, tempOverrides: { [FILTER_TYPES.FOLDER]: FILTER_STATES.UNDEFINED } });
|
||||||
}
|
}
|
||||||
|
if (doSort) {
|
||||||
|
sortEntitiesList(subEntities);
|
||||||
|
}
|
||||||
entity.entities = subEntities;
|
entity.entities = subEntities;
|
||||||
entity.hidden = subCount - subEntities.length;
|
entity.hidden = subCount - subEntities.length;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user