Merge pull request #7205 from G-Chubinidze/gc_SCI_10291

Button code for "Open locally" [SCI-10291]
This commit is contained in:
Martin Artnik 2024-03-06 15:03:55 +01:00 committed by GitHub
commit 64e926f98e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View file

@ -136,7 +136,8 @@ export default {
menu.push({
text,
emit: 'open_locally'
emit: 'open_locally',
data_e2e: 'e2e-BT-attachmentOptions-openLocally'
});
}
menu.push({

View file

@ -238,7 +238,8 @@ export default {
options.push({
text,
emit: 'open_locally'
emit: 'open_locally',
data_e2e: 'e2e-BT-attachmentOptions-openLocally'
});
}
return options;

View file

@ -22,6 +22,7 @@
:class="{ 'bg-sn-super-light-blue': item.active }"
:data-toggle="item.modalTarget && 'modal'"
:data-target="item.modalTarget"
:data-e2e="item.data_e2e"
class="block whitespace-nowrap rounded px-3 py-2.5 hover:!text-sn-blue hover:no-underline cursor-pointer hover:bg-sn-super-light-grey leading-5"
@click="handleClick($event, item)"
>