diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-08-03 13:18:38 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-08-03 13:18:38 +0200 |
commit | a0f0e5aabee5b3bad68afb7eab092b684275e6fa (patch) | |
tree | 9e1e5a4e14aabb383c3b2c3989f4c70fcdf42ab1 /out/_next/static/chunks/pages | |
parent | 44cbce4390aee4c96d729261953874a58d4349f7 (diff) |
fix: make tags update correctly and show them on refresh
Diffstat (limited to 'out/_next/static/chunks/pages')
-rw-r--r-- | out/_next/static/chunks/pages/index-689c814695b38e570f06.js (renamed from out/_next/static/chunks/pages/index-5e5acac3b4261d15dbc3.js) | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/out/_next/static/chunks/pages/index-5e5acac3b4261d15dbc3.js b/out/_next/static/chunks/pages/index-689c814695b38e570f06.js index 973b286..0c6eb93 100644 --- a/out/_next/static/chunks/pages/index-5e5acac3b4261d15dbc3.js +++ b/out/_next/static/chunks/pages/index-689c814695b38e570f06.js @@ -1825,7 +1825,11 @@ o = r.map(function (e) { return { value: e, label: e } }), - s = (0, u.useState)([]), + s = (0, u.useState)( + n.tags.map(function (e) { + return { value: e, label: e } + }), + ), a = s[0], c = s[1] return (0, l.jsx)(ee.CUIAutoComplete, { @@ -1845,7 +1849,7 @@ ie({}, n), {}, { - tags: a.map(function (e) { + tags: e.selectedItems.map(function (e) { return e.value }), }, @@ -1877,7 +1881,11 @@ o = e.tags.map(function (e) { return { value: e, label: e } }), - s = (0, u.useState)([]), + s = (0, u.useState)( + Object.keys(t).map(function (e) { + return { value: e, label: e } + }), + ), c = s[0], d = s[1] return (0, l.jsxs)(j.xu, { |