mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-13 01:41:09 +08:00
Merge pull request #7205 from G-Chubinidze/gc_SCI_10291
Button code for "Open locally" [SCI-10291]
This commit is contained in:
commit
64e926f98e
3 changed files with 5 additions and 2 deletions
|
|
@ -136,7 +136,8 @@ export default {
|
||||||
|
|
||||||
menu.push({
|
menu.push({
|
||||||
text,
|
text,
|
||||||
emit: 'open_locally'
|
emit: 'open_locally',
|
||||||
|
data_e2e: 'e2e-BT-attachmentOptions-openLocally'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
menu.push({
|
menu.push({
|
||||||
|
|
|
||||||
|
|
@ -238,7 +238,8 @@ export default {
|
||||||
|
|
||||||
options.push({
|
options.push({
|
||||||
text,
|
text,
|
||||||
emit: 'open_locally'
|
emit: 'open_locally',
|
||||||
|
data_e2e: 'e2e-BT-attachmentOptions-openLocally'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return options;
|
return options;
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@
|
||||||
:class="{ 'bg-sn-super-light-blue': item.active }"
|
:class="{ 'bg-sn-super-light-blue': item.active }"
|
||||||
:data-toggle="item.modalTarget && 'modal'"
|
:data-toggle="item.modalTarget && 'modal'"
|
||||||
:data-target="item.modalTarget"
|
: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"
|
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)"
|
@click="handleClick($event, item)"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue