File tree 2 files changed +9
-4
lines changed
plugins/data_migration/frontend/public
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 23
23
countlyDataMigration . loadImportList ( )
24
24
. then ( function ( res ) {
25
25
if ( typeof res . result === "object" ) {
26
- self . list = res . result ;
26
+ var finalArr = [ ] ;
27
+ for ( var key in res . result ) {
28
+ var element = res . result [ key ] ;
29
+ finalArr . push ( element ) ;
30
+ }
31
+ self . list = finalArr ;
27
32
}
28
33
else if ( typeof res . result === "string" ) {
29
34
self . list = [ ] ;
Original file line number Diff line number Diff line change 1
1
< div >
2
2
< cly-datatable-n class ="bu-mx-5 " :rows ="list " :persist-key ="importsTablePersistKey ">
3
3
< template v-slot ="scope ">
4
- < el-table-column sortable ="true " prop ="app_names " :label ="i18n('data-migration.applications') ">
4
+ < el-table-column sortable ="true " prop ="app_list " :label ="i18n('data-migration.applications') ">
5
5
< template v-slot ="rowScope ">
6
6
< span class ="text-medium ">
7
7
< div >
14
14
</ span >
15
15
</ template >
16
16
</ el-table-column >
17
- < el-table-column sortable ="true " prop ="step " :label ="i18n('data-migration.table.step') ">
17
+ < el-table-column sortable ="true " prop ="status_text " :label ="i18n('data-migration.table.step') ">
18
18
< template v-slot ="rowScope ">
19
19
< div class ="bu-py-6 ">
20
20
< span class ="text-medium ">
23
23
</ div >
24
24
</ template >
25
25
</ el-table-column >
26
- < el-table-column sortable ="true " prop ="created " :label ="i18n('data-migration.table.last-update') ">
26
+ < el-table-column sortable ="true " prop ="last_update " :label ="i18n('data-migration.table.last-update') ">
27
27
< template v-slot ="rowScope ">
28
28
< span class ="text-medium ">
29
29
{{ rowScope.row.last_update }}
You can’t perform that action at this time.
0 commit comments