@eeacms/volto-tableau 8.1.3 → 8.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -1
- package/locales/de/LC_MESSAGES/volto.po +15 -13
- package/locales/en/LC_MESSAGES/volto.po +15 -13
- package/locales/it/LC_MESSAGES/volto.po +15 -13
- package/locales/ro/LC_MESSAGES/volto.po +15 -13
- package/locales/volto.pot +17 -15
- package/package.json +1 -1
- package/src/Blocks/TableauBlock/View.jsx +1 -1
- package/src/Tableau/helpers.js +1 -1
- package/src/Widgets/VisualizationWidget.jsx +7 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,10 +4,23 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
### [8.1.
|
|
7
|
+
### [8.1.5](https://github.com/eea/volto-tableau/compare/8.1.4...8.1.5) - 4 August 2025
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- fix import for volto 18 qs should be imported from query-string 2 [David Ichim - [`bc99080`](https://github.com/eea/volto-tableau/commit/bc990804e552cde4ebb7913f8e924a13dac1dd39)]
|
|
12
|
+
- fix import for volto 18 qs should be imported from query-string [David Ichim - [`228e755`](https://github.com/eea/volto-tableau/commit/228e7550cde1b7f1d7e692716cc5544da75beb46)]
|
|
13
|
+
### [8.1.4](https://github.com/eea/volto-tableau/compare/8.1.3...8.1.4) - 8 April 2025
|
|
14
|
+
|
|
15
|
+
#### :bug: Bug Fixes
|
|
16
|
+
|
|
17
|
+
- fix: preview image network access for infinite - refs #286675 [dobri1408 - [`f427993`](https://github.com/eea/volto-tableau/commit/f427993d1debdb7443d42b446598e26d635bbc24)]
|
|
18
|
+
|
|
19
|
+
### [8.1.3](https://github.com/eea/volto-tableau/compare/8.1.2...8.1.3) - 28 November 2024
|
|
8
20
|
|
|
9
21
|
#### :bug: Bug Fixes
|
|
10
22
|
|
|
23
|
+
- fix(upload): of files through contents modal where action.request.data is undefined #81 [Ichim David - [`e5f41f5`](https://github.com/eea/volto-tableau/commit/e5f41f57bc4001edf704b1e4b03d3416c3d8965f)]
|
|
11
24
|
- fix(upload): of files through contents modal where action.request.data is undefined [David Ichim - [`80bfb8e`](https://github.com/eea/volto-tableau/commit/80bfb8efbde41488cd99eacb82e8a1dc85e98d3f)]
|
|
12
25
|
|
|
13
26
|
### [8.1.2](https://github.com/eea/volto-tableau/compare/8.1.1...8.1.2) - 14 November 2024
|
|
@@ -11,67 +11,69 @@ msgstr ""
|
|
|
11
11
|
"Content-Transfer-Encoding: \n"
|
|
12
12
|
"Plural-Forms: \n"
|
|
13
13
|
|
|
14
|
+
#. Default: "CSS height"
|
|
14
15
|
#: Blocks/EmbedTableauVisualization/schema
|
|
15
|
-
|
|
16
|
+
#: Widgets/schema
|
|
16
17
|
msgid "CSS height"
|
|
17
18
|
msgstr ""
|
|
18
19
|
|
|
20
|
+
#. Default: "Choices"
|
|
19
21
|
#: Widgets/CreatableSelectWidget
|
|
20
|
-
# defaultMessage: Choices
|
|
21
22
|
msgid "Choices"
|
|
22
23
|
msgstr ""
|
|
23
24
|
|
|
25
|
+
#. Default: "Close"
|
|
24
26
|
#: Widgets/CreatableSelectWidget
|
|
25
|
-
# defaultMessage: Close
|
|
26
27
|
msgid "Close"
|
|
27
28
|
msgstr ""
|
|
28
29
|
|
|
30
|
+
#. Default: "Default"
|
|
29
31
|
#: Widgets/CreatableSelectWidget
|
|
30
|
-
# defaultMessage: Default
|
|
31
32
|
msgid "Default"
|
|
32
33
|
msgstr ""
|
|
33
34
|
|
|
35
|
+
#. Default: "Description"
|
|
34
36
|
#: Widgets/CreatableSelectWidget
|
|
35
|
-
# defaultMessage: Description
|
|
36
37
|
msgid "Description"
|
|
37
38
|
msgstr ""
|
|
38
39
|
|
|
40
|
+
#. Default: "No options"
|
|
39
41
|
#: Widgets/CreatableSelectWidget
|
|
40
|
-
# defaultMessage: No options
|
|
41
42
|
msgid "No options"
|
|
42
43
|
msgstr ""
|
|
43
44
|
|
|
45
|
+
#. Default: "No value"
|
|
44
46
|
#: Widgets/CreatableSelectWidget
|
|
45
|
-
# defaultMessage: No value
|
|
46
47
|
msgid "No value"
|
|
47
48
|
msgstr ""
|
|
48
49
|
|
|
50
|
+
#. Default: "Required"
|
|
49
51
|
#: Widgets/CreatableSelectWidget
|
|
50
|
-
# defaultMessage: Required
|
|
51
52
|
msgid "Required"
|
|
52
53
|
msgstr ""
|
|
53
54
|
|
|
55
|
+
#. Default: "Select…"
|
|
54
56
|
#: Widgets/CreatableSelectWidget
|
|
55
|
-
# defaultMessage: Select…
|
|
56
57
|
msgid "Select…"
|
|
57
58
|
msgstr ""
|
|
58
59
|
|
|
60
|
+
#. Default: "Short Name"
|
|
59
61
|
#: Widgets/CreatableSelectWidget
|
|
60
|
-
# defaultMessage: Short Name
|
|
61
62
|
msgid "Short Name"
|
|
62
63
|
msgstr ""
|
|
63
64
|
|
|
65
|
+
#. Default: "Tableau height"
|
|
64
66
|
#: Blocks/EmbedTableauVisualization/schema
|
|
65
|
-
|
|
67
|
+
#: Widgets/schema
|
|
66
68
|
msgid "Tableau height"
|
|
67
69
|
msgstr ""
|
|
68
70
|
|
|
71
|
+
#. Default: "Title"
|
|
69
72
|
#: Widgets/CreatableSelectWidget
|
|
70
|
-
# defaultMessage: Title
|
|
71
73
|
msgid "Title"
|
|
72
74
|
msgstr ""
|
|
73
75
|
|
|
76
|
+
#. Default: "Used for programmatic access to the fieldset."
|
|
74
77
|
#: Widgets/CreatableSelectWidget
|
|
75
|
-
# defaultMessage: Used for programmatic access to the fieldset.
|
|
76
78
|
msgid "Used for programmatic access to the fieldset."
|
|
77
79
|
msgstr ""
|
|
@@ -11,67 +11,69 @@ msgstr ""
|
|
|
11
11
|
"Content-Transfer-Encoding: \n"
|
|
12
12
|
"Plural-Forms: \n"
|
|
13
13
|
|
|
14
|
+
#. Default: "CSS height"
|
|
14
15
|
#: Blocks/EmbedTableauVisualization/schema
|
|
15
|
-
|
|
16
|
+
#: Widgets/schema
|
|
16
17
|
msgid "CSS height"
|
|
17
18
|
msgstr ""
|
|
18
19
|
|
|
20
|
+
#. Default: "Choices"
|
|
19
21
|
#: Widgets/CreatableSelectWidget
|
|
20
|
-
# defaultMessage: Choices
|
|
21
22
|
msgid "Choices"
|
|
22
23
|
msgstr ""
|
|
23
24
|
|
|
25
|
+
#. Default: "Close"
|
|
24
26
|
#: Widgets/CreatableSelectWidget
|
|
25
|
-
# defaultMessage: Close
|
|
26
27
|
msgid "Close"
|
|
27
28
|
msgstr ""
|
|
28
29
|
|
|
30
|
+
#. Default: "Default"
|
|
29
31
|
#: Widgets/CreatableSelectWidget
|
|
30
|
-
# defaultMessage: Default
|
|
31
32
|
msgid "Default"
|
|
32
33
|
msgstr ""
|
|
33
34
|
|
|
35
|
+
#. Default: "Description"
|
|
34
36
|
#: Widgets/CreatableSelectWidget
|
|
35
|
-
# defaultMessage: Description
|
|
36
37
|
msgid "Description"
|
|
37
38
|
msgstr ""
|
|
38
39
|
|
|
40
|
+
#. Default: "No options"
|
|
39
41
|
#: Widgets/CreatableSelectWidget
|
|
40
|
-
# defaultMessage: No options
|
|
41
42
|
msgid "No options"
|
|
42
43
|
msgstr ""
|
|
43
44
|
|
|
45
|
+
#. Default: "No value"
|
|
44
46
|
#: Widgets/CreatableSelectWidget
|
|
45
|
-
# defaultMessage: No value
|
|
46
47
|
msgid "No value"
|
|
47
48
|
msgstr ""
|
|
48
49
|
|
|
50
|
+
#. Default: "Required"
|
|
49
51
|
#: Widgets/CreatableSelectWidget
|
|
50
|
-
# defaultMessage: Required
|
|
51
52
|
msgid "Required"
|
|
52
53
|
msgstr ""
|
|
53
54
|
|
|
55
|
+
#. Default: "Select…"
|
|
54
56
|
#: Widgets/CreatableSelectWidget
|
|
55
|
-
# defaultMessage: Select…
|
|
56
57
|
msgid "Select…"
|
|
57
58
|
msgstr ""
|
|
58
59
|
|
|
60
|
+
#. Default: "Short Name"
|
|
59
61
|
#: Widgets/CreatableSelectWidget
|
|
60
|
-
# defaultMessage: Short Name
|
|
61
62
|
msgid "Short Name"
|
|
62
63
|
msgstr ""
|
|
63
64
|
|
|
65
|
+
#. Default: "Tableau height"
|
|
64
66
|
#: Blocks/EmbedTableauVisualization/schema
|
|
65
|
-
|
|
67
|
+
#: Widgets/schema
|
|
66
68
|
msgid "Tableau height"
|
|
67
69
|
msgstr ""
|
|
68
70
|
|
|
71
|
+
#. Default: "Title"
|
|
69
72
|
#: Widgets/CreatableSelectWidget
|
|
70
|
-
# defaultMessage: Title
|
|
71
73
|
msgid "Title"
|
|
72
74
|
msgstr ""
|
|
73
75
|
|
|
76
|
+
#. Default: "Used for programmatic access to the fieldset."
|
|
74
77
|
#: Widgets/CreatableSelectWidget
|
|
75
|
-
# defaultMessage: Used for programmatic access to the fieldset.
|
|
76
78
|
msgid "Used for programmatic access to the fieldset."
|
|
77
79
|
msgstr ""
|
|
@@ -11,67 +11,69 @@ msgstr ""
|
|
|
11
11
|
"Content-Transfer-Encoding: \n"
|
|
12
12
|
"Plural-Forms: \n"
|
|
13
13
|
|
|
14
|
+
#. Default: "CSS height"
|
|
14
15
|
#: Blocks/EmbedTableauVisualization/schema
|
|
15
|
-
|
|
16
|
+
#: Widgets/schema
|
|
16
17
|
msgid "CSS height"
|
|
17
18
|
msgstr ""
|
|
18
19
|
|
|
20
|
+
#. Default: "Choices"
|
|
19
21
|
#: Widgets/CreatableSelectWidget
|
|
20
|
-
# defaultMessage: Choices
|
|
21
22
|
msgid "Choices"
|
|
22
23
|
msgstr ""
|
|
23
24
|
|
|
25
|
+
#. Default: "Close"
|
|
24
26
|
#: Widgets/CreatableSelectWidget
|
|
25
|
-
# defaultMessage: Close
|
|
26
27
|
msgid "Close"
|
|
27
28
|
msgstr ""
|
|
28
29
|
|
|
30
|
+
#. Default: "Default"
|
|
29
31
|
#: Widgets/CreatableSelectWidget
|
|
30
|
-
# defaultMessage: Default
|
|
31
32
|
msgid "Default"
|
|
32
33
|
msgstr ""
|
|
33
34
|
|
|
35
|
+
#. Default: "Description"
|
|
34
36
|
#: Widgets/CreatableSelectWidget
|
|
35
|
-
# defaultMessage: Description
|
|
36
37
|
msgid "Description"
|
|
37
38
|
msgstr ""
|
|
38
39
|
|
|
40
|
+
#. Default: "No options"
|
|
39
41
|
#: Widgets/CreatableSelectWidget
|
|
40
|
-
# defaultMessage: No options
|
|
41
42
|
msgid "No options"
|
|
42
43
|
msgstr ""
|
|
43
44
|
|
|
45
|
+
#. Default: "No value"
|
|
44
46
|
#: Widgets/CreatableSelectWidget
|
|
45
|
-
# defaultMessage: No value
|
|
46
47
|
msgid "No value"
|
|
47
48
|
msgstr ""
|
|
48
49
|
|
|
50
|
+
#. Default: "Required"
|
|
49
51
|
#: Widgets/CreatableSelectWidget
|
|
50
|
-
# defaultMessage: Required
|
|
51
52
|
msgid "Required"
|
|
52
53
|
msgstr ""
|
|
53
54
|
|
|
55
|
+
#. Default: "Select…"
|
|
54
56
|
#: Widgets/CreatableSelectWidget
|
|
55
|
-
# defaultMessage: Select…
|
|
56
57
|
msgid "Select…"
|
|
57
58
|
msgstr ""
|
|
58
59
|
|
|
60
|
+
#. Default: "Short Name"
|
|
59
61
|
#: Widgets/CreatableSelectWidget
|
|
60
|
-
# defaultMessage: Short Name
|
|
61
62
|
msgid "Short Name"
|
|
62
63
|
msgstr ""
|
|
63
64
|
|
|
65
|
+
#. Default: "Tableau height"
|
|
64
66
|
#: Blocks/EmbedTableauVisualization/schema
|
|
65
|
-
|
|
67
|
+
#: Widgets/schema
|
|
66
68
|
msgid "Tableau height"
|
|
67
69
|
msgstr ""
|
|
68
70
|
|
|
71
|
+
#. Default: "Title"
|
|
69
72
|
#: Widgets/CreatableSelectWidget
|
|
70
|
-
# defaultMessage: Title
|
|
71
73
|
msgid "Title"
|
|
72
74
|
msgstr ""
|
|
73
75
|
|
|
76
|
+
#. Default: "Used for programmatic access to the fieldset."
|
|
74
77
|
#: Widgets/CreatableSelectWidget
|
|
75
|
-
# defaultMessage: Used for programmatic access to the fieldset.
|
|
76
78
|
msgid "Used for programmatic access to the fieldset."
|
|
77
79
|
msgstr ""
|
|
@@ -11,67 +11,69 @@ msgstr ""
|
|
|
11
11
|
"Content-Transfer-Encoding: \n"
|
|
12
12
|
"Plural-Forms: \n"
|
|
13
13
|
|
|
14
|
+
#. Default: "CSS height"
|
|
14
15
|
#: Blocks/EmbedTableauVisualization/schema
|
|
15
|
-
|
|
16
|
+
#: Widgets/schema
|
|
16
17
|
msgid "CSS height"
|
|
17
18
|
msgstr ""
|
|
18
19
|
|
|
20
|
+
#. Default: "Choices"
|
|
19
21
|
#: Widgets/CreatableSelectWidget
|
|
20
|
-
# defaultMessage: Choices
|
|
21
22
|
msgid "Choices"
|
|
22
23
|
msgstr ""
|
|
23
24
|
|
|
25
|
+
#. Default: "Close"
|
|
24
26
|
#: Widgets/CreatableSelectWidget
|
|
25
|
-
# defaultMessage: Close
|
|
26
27
|
msgid "Close"
|
|
27
28
|
msgstr ""
|
|
28
29
|
|
|
30
|
+
#. Default: "Default"
|
|
29
31
|
#: Widgets/CreatableSelectWidget
|
|
30
|
-
# defaultMessage: Default
|
|
31
32
|
msgid "Default"
|
|
32
33
|
msgstr ""
|
|
33
34
|
|
|
35
|
+
#. Default: "Description"
|
|
34
36
|
#: Widgets/CreatableSelectWidget
|
|
35
|
-
# defaultMessage: Description
|
|
36
37
|
msgid "Description"
|
|
37
38
|
msgstr ""
|
|
38
39
|
|
|
40
|
+
#. Default: "No options"
|
|
39
41
|
#: Widgets/CreatableSelectWidget
|
|
40
|
-
# defaultMessage: No options
|
|
41
42
|
msgid "No options"
|
|
42
43
|
msgstr ""
|
|
43
44
|
|
|
45
|
+
#. Default: "No value"
|
|
44
46
|
#: Widgets/CreatableSelectWidget
|
|
45
|
-
# defaultMessage: No value
|
|
46
47
|
msgid "No value"
|
|
47
48
|
msgstr ""
|
|
48
49
|
|
|
50
|
+
#. Default: "Required"
|
|
49
51
|
#: Widgets/CreatableSelectWidget
|
|
50
|
-
# defaultMessage: Required
|
|
51
52
|
msgid "Required"
|
|
52
53
|
msgstr ""
|
|
53
54
|
|
|
55
|
+
#. Default: "Select…"
|
|
54
56
|
#: Widgets/CreatableSelectWidget
|
|
55
|
-
# defaultMessage: Select…
|
|
56
57
|
msgid "Select…"
|
|
57
58
|
msgstr ""
|
|
58
59
|
|
|
60
|
+
#. Default: "Short Name"
|
|
59
61
|
#: Widgets/CreatableSelectWidget
|
|
60
|
-
# defaultMessage: Short Name
|
|
61
62
|
msgid "Short Name"
|
|
62
63
|
msgstr ""
|
|
63
64
|
|
|
65
|
+
#. Default: "Tableau height"
|
|
64
66
|
#: Blocks/EmbedTableauVisualization/schema
|
|
65
|
-
|
|
67
|
+
#: Widgets/schema
|
|
66
68
|
msgid "Tableau height"
|
|
67
69
|
msgstr ""
|
|
68
70
|
|
|
71
|
+
#. Default: "Title"
|
|
69
72
|
#: Widgets/CreatableSelectWidget
|
|
70
|
-
# defaultMessage: Title
|
|
71
73
|
msgid "Title"
|
|
72
74
|
msgstr ""
|
|
73
75
|
|
|
76
|
+
#. Default: "Used for programmatic access to the fieldset."
|
|
74
77
|
#: Widgets/CreatableSelectWidget
|
|
75
|
-
# defaultMessage: Used for programmatic access to the fieldset.
|
|
76
78
|
msgid "Used for programmatic access to the fieldset."
|
|
77
79
|
msgstr ""
|
package/locales/volto.pot
CHANGED
|
@@ -1,79 +1,81 @@
|
|
|
1
1
|
msgid ""
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Plone\n"
|
|
4
|
-
"POT-Creation-Date:
|
|
4
|
+
"POT-Creation-Date: 2025-06-20T18:03:49.336Z\n"
|
|
5
5
|
"Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
|
|
6
6
|
"Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
|
|
7
|
-
"MIME-Version: 1.0\n"
|
|
8
7
|
"Content-Type: text/plain; charset=utf-8\n"
|
|
9
8
|
"Content-Transfer-Encoding: 8bit\n"
|
|
10
9
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
10
|
+
"MIME-Version: 1.0\n"
|
|
11
11
|
"Language-Code: en\n"
|
|
12
12
|
"Language-Name: English\n"
|
|
13
13
|
"Preferred-Encodings: utf-8\n"
|
|
14
14
|
"Domain: volto\n"
|
|
15
15
|
|
|
16
|
+
#. Default: "CSS height"
|
|
16
17
|
#: Blocks/EmbedTableauVisualization/schema
|
|
17
|
-
|
|
18
|
+
#: Widgets/schema
|
|
18
19
|
msgid "CSS height"
|
|
19
20
|
msgstr ""
|
|
20
21
|
|
|
22
|
+
#. Default: "Choices"
|
|
21
23
|
#: Widgets/CreatableSelectWidget
|
|
22
|
-
# defaultMessage: Choices
|
|
23
24
|
msgid "Choices"
|
|
24
25
|
msgstr ""
|
|
25
26
|
|
|
27
|
+
#. Default: "Close"
|
|
26
28
|
#: Widgets/CreatableSelectWidget
|
|
27
|
-
# defaultMessage: Close
|
|
28
29
|
msgid "Close"
|
|
29
30
|
msgstr ""
|
|
30
31
|
|
|
32
|
+
#. Default: "Default"
|
|
31
33
|
#: Widgets/CreatableSelectWidget
|
|
32
|
-
# defaultMessage: Default
|
|
33
34
|
msgid "Default"
|
|
34
35
|
msgstr ""
|
|
35
36
|
|
|
37
|
+
#. Default: "Description"
|
|
36
38
|
#: Widgets/CreatableSelectWidget
|
|
37
|
-
# defaultMessage: Description
|
|
38
39
|
msgid "Description"
|
|
39
40
|
msgstr ""
|
|
40
41
|
|
|
42
|
+
#. Default: "No options"
|
|
41
43
|
#: Widgets/CreatableSelectWidget
|
|
42
|
-
# defaultMessage: No options
|
|
43
44
|
msgid "No options"
|
|
44
45
|
msgstr ""
|
|
45
46
|
|
|
47
|
+
#. Default: "No value"
|
|
46
48
|
#: Widgets/CreatableSelectWidget
|
|
47
|
-
# defaultMessage: No value
|
|
48
49
|
msgid "No value"
|
|
49
50
|
msgstr ""
|
|
50
51
|
|
|
52
|
+
#. Default: "Required"
|
|
51
53
|
#: Widgets/CreatableSelectWidget
|
|
52
|
-
# defaultMessage: Required
|
|
53
54
|
msgid "Required"
|
|
54
55
|
msgstr ""
|
|
55
56
|
|
|
57
|
+
#. Default: "Select…"
|
|
56
58
|
#: Widgets/CreatableSelectWidget
|
|
57
|
-
# defaultMessage: Select…
|
|
58
59
|
msgid "Select…"
|
|
59
60
|
msgstr ""
|
|
60
61
|
|
|
62
|
+
#. Default: "Short Name"
|
|
61
63
|
#: Widgets/CreatableSelectWidget
|
|
62
|
-
# defaultMessage: Short Name
|
|
63
64
|
msgid "Short Name"
|
|
64
65
|
msgstr ""
|
|
65
66
|
|
|
67
|
+
#. Default: "Tableau height"
|
|
66
68
|
#: Blocks/EmbedTableauVisualization/schema
|
|
67
|
-
|
|
69
|
+
#: Widgets/schema
|
|
68
70
|
msgid "Tableau height"
|
|
69
71
|
msgstr ""
|
|
70
72
|
|
|
73
|
+
#. Default: "Title"
|
|
71
74
|
#: Widgets/CreatableSelectWidget
|
|
72
|
-
# defaultMessage: Title
|
|
73
75
|
msgid "Title"
|
|
74
76
|
msgstr ""
|
|
75
77
|
|
|
78
|
+
#. Default: "Used for programmatic access to the fieldset."
|
|
76
79
|
#: Widgets/CreatableSelectWidget
|
|
77
|
-
# defaultMessage: Used for programmatic access to the fieldset.
|
|
78
80
|
msgid "Used for programmatic access to the fieldset."
|
|
79
81
|
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { connect } from 'react-redux';
|
|
3
3
|
import Tableau from '@eeacms/volto-tableau/Tableau/Tableau';
|
|
4
|
-
import qs from '
|
|
4
|
+
import qs from 'query-string';
|
|
5
5
|
import config from '@plone/volto/registry';
|
|
6
6
|
import '@eeacms/volto-tableau/less/tableau.less';
|
|
7
7
|
|
package/src/Tableau/helpers.js
CHANGED
|
@@ -178,7 +178,12 @@ const VisualizationWidget = (props) => {
|
|
|
178
178
|
.then((e) => e.blob())
|
|
179
179
|
.then((myBlob) => {
|
|
180
180
|
blobToBase64(myBlob).then((base64String) => {
|
|
181
|
-
|
|
181
|
+
setValue({
|
|
182
|
+
...value,
|
|
183
|
+
preview: base64String,
|
|
184
|
+
preview_url_loaded: value.url,
|
|
185
|
+
});
|
|
186
|
+
props.onChange(props.id, {
|
|
182
187
|
...value,
|
|
183
188
|
preview: base64String,
|
|
184
189
|
preview_url_loaded: value.url,
|
|
@@ -187,7 +192,7 @@ const VisualizationWidget = (props) => {
|
|
|
187
192
|
})
|
|
188
193
|
.catch(() => {});
|
|
189
194
|
}
|
|
190
|
-
}, [value, onChange, id]);
|
|
195
|
+
}, [props, value, onChange, id]);
|
|
191
196
|
|
|
192
197
|
return (
|
|
193
198
|
<FormFieldWrapper {...props}>
|