fix(journal): update command trigger condition
Change the command prefix check from "/stat" to "/set" in JournalInput.
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user