Revize cca0bfa0
Přidáno uživatelem Lukáš Vlček před asi 2 roky(ů)
webapp/pages/documents/annotator/index.tsx | ||
---|---|---|
56 | 56 |
title: 'Stav anotace', |
57 | 57 |
key: 'state', |
58 | 58 |
dataIndex: 'state', |
59 |
render: (state: string) => {
|
|
59 |
render: (state: EState) => {
|
|
60 | 60 |
const color = getAnnotationStateColor(state); |
61 | 61 |
const label = getAnnotationStateString(state); |
62 | 62 |
let icon = <CheckCircleOutlined />; |
... | ... | |
65 | 65 |
} |
66 | 66 |
if (state === 'IN_PROGRESS') { |
67 | 67 |
icon = <SyncOutlined />; |
68 |
}
|
|
68 |
} |
|
69 | 69 |
|
70 | 70 |
return ( |
71 | 71 |
<Tag icon={icon} color={color} key={label}> |
Také k dispozici: Unified diff
Build issues fixed (merge problems)