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;
|
||||
setText(raw);
|
||||
|
||||
if ((isGm() || raw.startsWith("/stat")) && raw.startsWith("/")) {
|
||||
if ((isGm() || raw.startsWith("/set")) && raw.startsWith("/")) {
|
||||
setShowCompletions(true);
|
||||
setSelectedIdx(0);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user