File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
plugins/process-resources/src/components Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -779,7 +779,7 @@ export function createModel (builder: Builder): void {
779
779
presenter : process . component . ExecutonPresenter
780
780
} ,
781
781
{
782
- key : '' ,
782
+ key : 'currentState ' ,
783
783
label : process . string . Step ,
784
784
presenter : process . component . ExecutonProgressPresenter
785
785
} ,
@@ -832,7 +832,7 @@ export function createModel (builder: Builder): void {
832
832
key : 'card'
833
833
} ,
834
834
{
835
- key : 'process ' ,
835
+ key : '' ,
836
836
label : process . string . Process ,
837
837
presenter : process . component . ExecutonPresenter
838
838
} ,
Original file line number Diff line number Diff line change 13
13
// limitations under the License.
14
14
-->
15
15
<script lang =" ts" >
16
- import { WithLookup } from ' @hcengineering/core'
16
+ import { Ref } from ' @hcengineering/core'
17
17
import { getClient } from ' @hcengineering/presentation'
18
- import { Execution } from ' @hcengineering/process'
18
+ import { State } from ' @hcengineering/process'
19
19
20
- export let value: WithLookup < Execution >
20
+ export let value: Ref < State >
21
21
22
22
const client = getClient ()
23
23
24
- $ : currentState = client .getModel ().findObject (value . currentState )
24
+ $ : currentState = client .getModel ().findObject (value )
25
25
</script >
26
26
27
27
{#if currentState }
You can’t perform that action at this time.
0 commit comments