fix(journal): update command trigger condition

Change the command prefix check from "/stat" to "/set" in JournalInput.
This commit is contained in:
hypercross 2026-07-13 09:41:27 +08:00
parent ae44191b28
commit 411f4d79ff
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ export const JournalInput: Component = () => {
const raw = input.value; const raw = input.value;
setText(raw); setText(raw);
if ((isGm() || raw.startsWith("/stat")) && raw.startsWith("/")) { if ((isGm() || raw.startsWith("/set")) && raw.startsWith("/")) {
setShowCompletions(true); setShowCompletions(true);
setSelectedIdx(0); setSelectedIdx(0);
} else { } else {