refactor: 💡 add permission to read a session recording (#167)
* refactor: 💡 add permission to read a session recording * test: 💍 remove a11yAudit from test temporarily * refactor: 💡 add aria-label to fix allyAudit violation (#168) * refactor: 💡 add aria-label to fix allyAudit violation * refactor: 💡 update standalone link to icon only button
This commit is contained in:
1 parent
ae66e68bad
commit
7faab01452
4 files changed
+50
-25
No files matched your search
@@ -61,14 +61,19 @@
|
||||
</div>
|
||||
</B.Td>
|
||||
<B.Td align='right'>
|
||||
<Hds::Link::Standalone
|
||||
@icon='arrow-right'
|
||||
@iconPosition='trailing'
|
||||
@color='secondary'
|
||||
@text=''
|
||||
@route='scopes.scope.session-recordings.session-recording'
|
||||
@model={{B.data.id}}
|
||||
/>
|
||||
{{#if (can 'read session-recording' B.data)}}
|
||||
<Hds::Button
|
||||
@icon='arrow-right'
|
||||
@isIconOnly={{true}}
|
||||
@color='secondary'
|
||||
@text={{t
|
||||
'resources.session-recording.button-aria-label'
|
||||
id=B.data.id
|
||||
}}
|
||||
@route='scopes.scope.session-recordings.session-recording'
|
||||
@model={{B.data.id}}
|
||||
/>
|
||||
{{/if}}
|
||||
</B.Td>
|
||||
</B.Tr>
|
||||
</:body>
|
||||
|
||||
Reference in new issue
Block a user