Remove confusing toast from listvar

33222191be5782c8503addd3d10a7fc9afecae08

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +0 -3Ignore whitespace
public/scripts/variables.js+0 -3
@@ -313,9 +313,6 @@ async function listVariablesCallback(args) {
313 if (args.format) {313 if (args.format) {
314 toastr.warning(`Legacy argument 'format' with value '${args.format}' is deprecated. Please use 'return' instead. Routing to the correct return type...`, 'Deprecation warning');314 toastr.warning(`Legacy argument 'format' with value '${args.format}' is deprecated. Please use 'return' instead. Routing to the correct return type...`, 'Deprecation warning');
315 const type = String(args?.format).toLowerCase().trim();315 const type = String(args?.format).toLowerCase().trim();
316 if (!chat_metadata.script_injects || !Object.keys(chat_metadata.script_injects).length) {
317 type !== 'none' && toastr.info('No script injections for the current chat');
318 }
319 switch (type) {316 switch (type) {
320 case 'none':317 case 'none':
321 returnType = 'none';318 returnType = 'none';