diff --git a/web/packages/teleport/src/Users/Users.story.tsx b/web/packages/teleport/src/Users/Users.story.tsx index 32bedc42f26aa..ef883f522fe65 100644 --- a/web/packages/teleport/src/Users/Users.story.tsx +++ b/web/packages/teleport/src/Users/Users.story.tsx @@ -47,10 +47,10 @@ export const Loaded = () => { ); }; -export const UsersNotEqualMAUNotice = () => { +export const UsersNotEqualMauNotice = () => { return ( - + ); }; @@ -147,6 +147,6 @@ const sample = { InviteCollaborators: null, onEmailPasswordResetClose: () => null, EmailPasswordReset: null, - showMAUInfo: false, + showMauInfo: false, onDismissUsersMAUNotice: () => null, }; diff --git a/web/packages/teleport/src/Users/Users.test.tsx b/web/packages/teleport/src/Users/Users.test.tsx index 25b5e80d392d9..9e1722417bb0c 100644 --- a/web/packages/teleport/src/Users/Users.test.tsx +++ b/web/packages/teleport/src/Users/Users.test.tsx @@ -57,7 +57,7 @@ describe('invite collaborators integration', () => { inviteCollaboratorsOpen: false, onEmailPasswordResetClose: () => undefined, EmailPasswordReset: null, - showMAUInfo: false, + showMauInfo: false, onDismissUsersMAUNotice: () => null, }; }); @@ -137,7 +137,7 @@ describe('Users not equal to MAU Notice', () => { inviteCollaboratorsOpen: false, onEmailPasswordResetClose: () => undefined, EmailPasswordReset: null, - showMAUInfo: true, + showMauInfo: true, onDismissUsersMAUNotice: jest.fn(), }; }); @@ -194,7 +194,7 @@ describe('email password reset integration', () => { inviteCollaboratorsOpen: false, onEmailPasswordResetClose: () => undefined, EmailPasswordReset: null, - showMAUInfo: false, + showMauInfo: false, onDismissUsersMAUNotice: () => null, }; }); diff --git a/web/packages/teleport/src/Users/Users.tsx b/web/packages/teleport/src/Users/Users.tsx index b767284ae8437..fbc322ceffb03 100644 --- a/web/packages/teleport/src/Users/Users.tsx +++ b/web/packages/teleport/src/Users/Users.tsx @@ -46,7 +46,7 @@ export function Users(props: State) { onStartDelete, onStartEdit, onStartReset, - showMAUInfo, + showMauInfo, onDismissUsersMAUNotice, onClose, onCreate, @@ -100,7 +100,7 @@ export function Users(props: State) { )} - {showMAUInfo && ( + {showMauInfo && (