mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-20 14:39:06 +00:00
refactor: remove toggle link context menu action
This commit is contained in:
committed by
Carlos Valente
parent
a358ec0f17
commit
ed4d3ba265
@@ -135,16 +135,6 @@ export default function RundownEvent({
|
|||||||
{ type: 'item', label: 'Delete', icon: IoTrash, onClick: () => actionHandler('delete') },
|
{ type: 'item', label: 'Delete', icon: IoTrash, onClick: () => actionHandler('delete') },
|
||||||
]
|
]
|
||||||
: [
|
: [
|
||||||
{
|
|
||||||
type: 'item',
|
|
||||||
label: 'Toggle link to previous',
|
|
||||||
icon: IoLink,
|
|
||||||
onClick: () =>
|
|
||||||
actionHandler('update', {
|
|
||||||
field: 'linkStart',
|
|
||||||
value: linkStart,
|
|
||||||
}),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
type: 'item',
|
type: 'item',
|
||||||
label: flag ? 'Remove flag' : 'Add flag',
|
label: flag ? 'Remove flag' : 'Add flag',
|
||||||
|
|||||||
Reference in New Issue
Block a user