Button code for "Open locally" [SCI-10291]

This commit is contained in:
Giga Chubinidze 2024-03-06 05:17:45 +04:00
parent 338782de1e
commit e243da184f
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)"
>