mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-23 07:51:18 +01:00
add empty string fallbacks for old QRs
This commit is contained in:
parent
e117c9da4e
commit
7049ec0e12
@ -91,9 +91,9 @@ const loadSets = async () => {
|
||||
set.qrList = set.quickReplySlots.map((slot,idx)=>{
|
||||
const qr = {};
|
||||
qr.id = idx + 1;
|
||||
qr.label = slot.label;
|
||||
qr.title = slot.title;
|
||||
qr.message = slot.mes;
|
||||
qr.label = slot.label ?? '';
|
||||
qr.title = slot.title ?? '';
|
||||
qr.message = slot.mes ?? '';
|
||||
qr.isHidden = slot.hidden ?? false;
|
||||
qr.executeOnStartup = slot.autoExecute_appStartup ?? false;
|
||||
qr.executeOnUser = slot.autoExecute_userMessage ?? false;
|
||||
|
Loading…
Reference in New Issue
Block a user