(credential)
| 139 | } |
| 140 | |
| 141 | const share = (credential) => { |
| 142 | const dialogProps = { |
| 143 | type: 'EDIT', |
| 144 | cancelButtonName: 'Cancel', |
| 145 | confirmButtonName: 'Share', |
| 146 | data: { |
| 147 | id: credential.id, |
| 148 | name: credential.name, |
| 149 | title: 'Share Credential', |
| 150 | itemType: 'credential' |
| 151 | } |
| 152 | } |
| 153 | setShareCredentialDialogProps(dialogProps) |
| 154 | setShowShareCredentialDialog(true) |
| 155 | } |
| 156 | |
| 157 | const deleteCredential = async (credential) => { |
| 158 | const confirmPayload = { |