Skip to content

Commit

Permalink
adding a runner infra + a script to email QR codes to Farcon attendees
Browse files Browse the repository at this point in the history
  • Loading branch information
julien51 committed May 6, 2024
1 parent 07d1e54 commit e24e072
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions unlock-app/src/components/interface/locks/Manage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,17 @@ export const ActionBar = ({ lockAddress, network }: ActionBarProps) => {
setIsKeysJobLoading(false)

const members = response.data
const cols = members.keys ? Object.keys(members.keys[0]) : []
const cols: { [key: string]: boolean } = { token: true, data: false }
if (members.keys) {
for (let i = 0; i < members.keys.length; i++) {
Object.keys(members.keys[i]).forEach((key) => {
cols[key] = true
})
}
}
delete cols.data
downloadAsCSV({
cols,
cols: Object.keys(cols),
metadata: members.keys as any[],
})
}
Expand Down

0 comments on commit e24e072

Please sign in to comment.