UBERF-5603 (#4754)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2024-02-23 15:39:49 +07:00
committed by GitHub
parent cc8a1d549a
commit ffc8d1dfac
184 changed files with 2755 additions and 561 deletions
+3 -1
View File
@@ -31,9 +31,10 @@ import {
selectionStore,
selectionLimit
} from './selection'
import { deleteObjects, getObjectLinkFragment } from './utils'
import { deleteObjects, getObjectLinkFragment, restrictionStore } from './utils'
import contact from '@hcengineering/contact'
import { locationToUrl } from '@hcengineering/ui'
import { get } from 'svelte/store'
/**
* Action to be used for copying text to clipboard.
@@ -206,6 +207,7 @@ const MoveRight = (doc: Doc | undefined, evt: Event): void => {
}
function ShowActions (doc: Doc | Doc[] | undefined, evt: Event): void {
if (get(restrictionStore).disableActions) return
evt.preventDefault()
showPopup(view.component.ActionsPopup, { viewContext: $contextStore.getLastContext() }, 'top')