We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c8b620 + ba4aa51 commit 0d51ea7Copy full SHA for 0d51ea7
plugins/image/config.js
@@ -20,6 +20,7 @@ module.exports = {
20
return callback([]);
21
}
22
23
+ if (!parsed_data) return callback(null);
24
var file_id = parsed_data.file_id;
25
26
models.files.find({ where: { id: file_id } })
plugins/image_list/template.html
@@ -11,7 +11,7 @@
11
(function() {
12
13
try {
14
- var files = {{ item[field.name]|json_encode|raw }};
+ var files = {{ item.data[field.name]|json_encode|raw }};
15
} catch(e) {
16
return;
17
0 commit comments