mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-11 12:17:44 +02:00
Fix result input without result (#9937)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -14,12 +14,13 @@
|
||||
-->
|
||||
<script lang="ts">
|
||||
import presentation, { Card, getAttrEditor, getClient } from '@hcengineering/presentation'
|
||||
import { ContextId, UserResult } from '@hcengineering/process'
|
||||
import { ContextId, ExecutionContext, UserResult } from '@hcengineering/process'
|
||||
import { Component, tooltip } from '@hcengineering/ui'
|
||||
import { createEventDispatcher } from 'svelte'
|
||||
import plugin from '../../plugin'
|
||||
|
||||
export let results: UserResult[]
|
||||
export let context: ExecutionContext
|
||||
|
||||
const dispatch = createEventDispatcher()
|
||||
const client = getClient()
|
||||
@@ -27,6 +28,10 @@
|
||||
|
||||
const values: Record<ContextId, any> = {}
|
||||
|
||||
results.forEach((r) => {
|
||||
values[r._id] = context[r._id]
|
||||
})
|
||||
|
||||
export function canClose (): boolean {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user