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)=>{
|
set.qrList = set.quickReplySlots.map((slot,idx)=>{
|
||||||
const qr = {};
|
const qr = {};
|
||||||
qr.id = idx + 1;
|
qr.id = idx + 1;
|
||||||
qr.label = slot.label;
|
qr.label = slot.label ?? '';
|
||||||
qr.title = slot.title;
|
qr.title = slot.title ?? '';
|
||||||
qr.message = slot.mes;
|
qr.message = slot.mes ?? '';
|
||||||
qr.isHidden = slot.hidden ?? false;
|
qr.isHidden = slot.hidden ?? false;
|
||||||
qr.executeOnStartup = slot.autoExecute_appStartup ?? false;
|
qr.executeOnStartup = slot.autoExecute_appStartup ?? false;
|
||||||
qr.executeOnUser = slot.autoExecute_userMessage ?? false;
|
qr.executeOnUser = slot.autoExecute_userMessage ?? false;
|
||||||
|
|
Loading…
Reference in New Issue