Add action list to cards with callback (#1392)

- Add the ActionDescriptor functionality. This is a table of information with actionable links
- Also add optional status indicator which shows a color. In the future, would like to extend to have icon in this space as an alternative.
- Fixed 1 issue with account management UI throwing an error on cancel
This commit is contained in:
Kevin Cunnane
2018-05-11 10:59:42 -07:00
committed by GitHub
parent c0a6f3e012
commit 41ffd6e8ae
9 changed files with 178 additions and 29 deletions

View File

@@ -142,7 +142,7 @@ export class AccountManagementService implements IAccountManagementService {
})
.then(null, err => {
// On error, check to see if the error is because the user cancelled. If so, just ignore
if ('userCancelledSignIn' in err) {
if (err && 'userCancelledSignIn' in err) {
return Promise.resolve();
}
return Promise.reject(err);