Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

soup-context: fix entity navigation button firing incorrect command (#877)

Caleb Taylora22a33c5b292
diff --git a/js/app/packages/app/component/EntityNavigationIndicator.tsx b/js/app/packages/app/component/EntityNavigationIndicator.tsx
index d6c712f7a4..bbcd127f0e 100644
--- a/js/app/packages/app/component/EntityNavigationIndicator.tsx
+++ b/js/app/packages/app/component/EntityNavigationIndicator.tsx
@@ -47,7 +47,7 @@ const EntityNavigationIndicator = () => {
disabled={selectedEntityIndex() >= entities()!.length - 1}
theme="current"
onDeepClick={() => {
- const command = getActiveCommandByToken(TOKENS.entity.select.end);
+ const command = getActiveCommandByToken(TOKENS.entity.step.end);
if (!command) return;
runCommand(command);
}}
@@ -62,9 +62,7 @@ const EntityNavigationIndicator = () => {
disabled={selectedEntityIndex() === 0}
theme="current"
onDeepClick={() => {
- const command = getActiveCommandByToken(
- TOKENS.entity.select.start
- );
+ const command = getActiveCommandByToken(TOKENS.entity.step.start);
if (!command) return;
runCommand(command);
}}