Skip to content

Commit 12b61e9

Browse files
committed
fix: show the incoming data in the table on the Import tab
1 parent 7068590 commit 12b61e9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

plugins/data_migration/frontend/public/javascripts/countly.views.js

+6
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
countlyDataMigration.loadImportList()
2424
.then(function(res) {
2525
if (typeof res.result === "object") {
26+
var aa = Object.entries(res.result);
27+
aa[0].forEach(function(element) {
28+
if (typeof element === "object") {
29+
res.result = [element];
30+
}
31+
});
2632
self.list = res.result;
2733
}
2834
else if (typeof res.result === "string") {

0 commit comments

Comments
 (0)