Use dslContext everywhere (#10028)

This commit is contained in:
Denis Bykhov
2025-10-06 07:30:54 +07:00
committed by GitHub
parent bb8dfc8130
commit a9b55916de
7 changed files with 26 additions and 22 deletions
@@ -16,6 +16,7 @@
import { getClient } from '@hcengineering/presentation'
import {
ContextId,
createContext,
MethodParams,
parseContext,
Process,
@@ -115,15 +116,13 @@
eventToHTMLElement(ev),
(result) => {
if (result !== undefined) {
dispatch(
'change',
'$' +
JSON.stringify({
type: 'context',
id: result as ContextId,
key: ''
})
)
const ctx: SelectedExecutionContext = {
type: 'context',
id: result as ContextId,
key: ''
}
const res = createContext(ctx)
dispatch('change', res)
}
}
)