fix: Various command bar fixes

This commit is contained in:
Tom Moor
2023-05-18 16:42:46 -04:00
parent dca64fe84b
commit b1e2ff0713
3 changed files with 26 additions and 16 deletions

View File

@@ -35,7 +35,7 @@ export function createAction(definition: Optional<Action, "id">): Action {
return definition.perform?.(context);
}
: undefined,
id: uuidv4(),
id: definition.id ?? uuidv4(),
};
}