fix(journal): update command trigger condition
Change the command prefix check from "/stat" to "/set" in JournalInput.
This commit is contained in:
parent
ae44191b28
commit
411f4d79ff
|
|
@ -222,7 +222,7 @@ export const JournalInput: Component = () => {
|
|||
const raw = input.value;
|
||||
setText(raw);
|
||||
|
||||
if ((isGm() || raw.startsWith("/stat")) && raw.startsWith("/")) {
|
||||
if ((isGm() || raw.startsWith("/set")) && raw.startsWith("/")) {
|
||||
setShowCompletions(true);
|
||||
setSelectedIdx(0);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue