Skip to content

Commit

Permalink
Add missing code
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisronline committed Jul 20, 2020
1 parent ac423ab commit 5c2fe23
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ const showTlsAndEncryptionError = () => {
};

export const showSecurityToast = (alertingHealth: AlertingFrameworkHealth) => {
const { isSufficientlySecure, hasPermanentEncryptionKey } = alertingHealth;

if (
Array.isArray(alertingHealth) ||
(!alertingHealth.hasOwnProperty('isSufficientlySecure') &&
Expand Down

0 comments on commit 5c2fe23

Please sign in to comment.