Skip to content

Commit

Permalink
[GH-18] Include detached accounts in active account keys
Browse files Browse the repository at this point in the history
  • Loading branch information
karmaniverous committed Aug 14, 2024
1 parent 3cf1c81 commit feb45ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const getActiveKeys = <T extends Actionable = Actionable>(
collection: Record<string, T> = {},
) =>
_.entries(collection)
.filter(([, v]) => !v.action)
.filter(([, v]) => !v.action || v.action === 'detach')
.map(([k]) => k);

const actionErrorModifier = (action: Action) => {
Expand Down

0 comments on commit feb45ff

Please sign in to comment.