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) {
313313 if (args.format) {
314314 toastr.warning(`Legacy argument 'format' with value '${args.format}' is deprecated. Please use 'return' instead. Routing to the correct return type...`, 'Deprecation warning');
315315 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- }
319316 switch (type) {
320317 case 'none':
321318 returnType = 'none';