mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-25 01:04:02 +08:00
Button code for "Open locally" [SCI-10291]
This commit is contained in:
parent
338782de1e
commit
e243da184f
3 changed files with 5 additions and 2 deletions
|
@ -136,7 +136,8 @@ export default {
|
|||
|
||||
menu.push({
|
||||
text,
|
||||
emit: 'open_locally'
|
||||
emit: 'open_locally',
|
||||
data_e2e: 'e2e-BT-attachmentOptions-openLocally'
|
||||
});
|
||||
}
|
||||
menu.push({
|
||||
|
|
|
@ -238,7 +238,8 @@ export default {
|
|||
|
||||
options.push({
|
||||
text,
|
||||
emit: 'open_locally'
|
||||
emit: 'open_locally',
|
||||
data_e2e: 'e2e-BT-attachmentOptions-openLocally'
|
||||
});
|
||||
}
|
||||
return options;
|
||||
|
|
|
@ -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)"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue