Revize 3a4bf532
Přidáno uživatelem Fantič před téměř 2 roky(ů)
src/stores/actions/itemThunks.ts | ||
---|---|---|
8 | 8 |
"item/getItem", |
9 | 9 |
async (itemId: string) => { |
10 | 10 |
try { |
11 | ||
12 |
console.log("¨GET item/getItem/" + itemId); |
|
11 |
console.log("GET item/getItem/" + itemId); |
|
13 | 12 | |
14 | 13 |
const response = await getItemRequest(itemId); |
15 | ||
16 | ||
14 |
|
|
15 |
|
|
17 | 16 |
// data with image |
18 | 17 |
if (response.status === 200 && response.data.object.length > 1) { |
19 | 18 |
return { |
... | ... | |
128 | 127 |
noteColor: (note as any).note_color, |
129 | 128 |
}) |
130 | 129 |
} |
131 |
|
|
130 | ||
132 | 131 |
return { |
133 | 132 |
notes, |
134 | 133 |
} |
Také k dispozici: Unified diff
re #10454: ItemView: concordance tabs