Skip to content

Commit

Permalink
fix(a11y): correct mgt-get email story (#3194)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mnickii authored May 30, 2024
1 parent 6e51044 commit 066e58c
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions stories/components/get/get.html.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ export const GetEmail = () => html`
<template>
<div class="email" data-for="email in value">
<h3>{{ email.subject }}</h3>
<h4>
<mgt-person
person-query="{{email.sender.emailAddress.address}}"
view="oneline"
person-card="hover"
></mgt-person>
</h4>
<mgt-person
person-query="{{email.sender.emailAddress.address}}"
view="oneline"
person-card="none"
></mgt-person>
<div data-if="email.bodyPreview" class="preview" innerHtml>{{email.bodyPreview}}</div>
<div data-else class="preview">
email body is empty
Expand Down

0 comments on commit 066e58c

Please sign in to comment.