/instruct command: don't return current template name if instruct mode is disabled

59e9fda3129cf72fdba65fb145fec3463fd7486d

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

1 files changed, +2 -2Ignore whitespace
public/script.js+2 -2
@@ -8563,7 +8563,7 @@ async function selectContextCallback(args, name) {
85638563
85648564async function selectInstructCallback(args, name) {
85658565 if (!name) {
85668566 return power_user.instruct.enabled ? power_user.instruct.preset : '';
85678567 }
85688568
85698569 const quiet = isTrueBoolean(args?.quiet);
@@ -9274,7 +9274,7 @@ jQuery(async function () {
92749274 ],
92759275 helpString: `
92769276 <div>
92779277 Selects instruct mode template by name. Gets the current instruct template if no name is provided and instruct mode is enabled.
92789278 </div>
92799279 <div>
92809280 <strong>Example:</strong>