mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Hard limit hotswaps to 25 entries
This commit is contained in:
@ -316,7 +316,7 @@ export async function favsToHotswap() {
|
||||
const entities = getEntitiesList({ doFilter: false });
|
||||
const container = $('#right-nav-panel .hotswap');
|
||||
|
||||
const favs = entities.filter(x => x.item.fav || x.item.fav == 'true');
|
||||
const favs = entities.filter(x => x.item.fav || x.item.fav == 'true').slice(0, 25);
|
||||
|
||||
//helpful instruction message if no characters are favorited
|
||||
if (favs.length == 0) {
|
||||
|
Reference in New Issue
Block a user