Remove all connections button for the popups

This commit is contained in:
Wolfsblvt
2025-01-25 19:54:45 +01:00
parent 3fc4207cdb
commit 9a79c6b1a4
2 changed files with 50 additions and 6 deletions

View File

@ -236,6 +236,7 @@ import {
updatePersonaConnectionsAvatarList,
getConnectedPersonas,
askForPersonaSelection,
getCurrentConnectionObj,
} from './scripts/personas.js';
import { getBackgrounds, initBackgrounds, loadBackgroundSettings, background_settings } from './scripts/backgrounds.js';
import { hideLoader, showLoader } from './scripts/loader.js';
@ -9995,6 +9996,7 @@ jQuery(async function () {
const selectedPersona = await askForPersonaSelection(t`Persona Connections`, message, connections, {
okButton: t`Ok`,
highlightPersonas: true,
targetedChar: getCurrentConnectionObj(),
shiftClickHandler: (element, ev) => {
const personaId = $(element).attr('data-pid');