File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
assets/src/dashboard/parts/connected Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ if ( 'undefined' !== typeof window && optimoleDashboardApp.user_data.plan ) {
32
32
status : optimoleDashboardApp . user_data . status ,
33
33
language : optimoleDashboardApp . language ,
34
34
cname_assigned : optimoleDashboardApp . user_data . is_cname_assigned || 'no' ,
35
- connected_websites : optimoleDashboardApp . user_data . whitelist . length . toString ( ) ,
36
- traffic : convertToCategory ( optimoleDashboardApp . user_data . traffic , 500 ) . toString ( ) ,
37
- images_number : convertToCategory ( optimoleDashboardApp . user_data . images_number , 100 ) . toString ( ) ,
35
+ connected_websites : optimoleDashboardApp . user_data . whitelist && optimoleDashboardApp . user_data . whitelist . length . toString ( ) ,
36
+ traffic : convertToCategory ( optimoleDashboardApp . user_data . traffic || 0 , 500 ) . toString ( ) ,
37
+ images_number : convertToCategory ( optimoleDashboardApp . user_data . images_number || 0 , 100 ) . toString ( ) ,
38
38
days_since_install : convertToCategory ( optimoleDashboardApp . days_since_install ) . toString ( )
39
39
}
40
40
} ) ;
You can’t perform that action at this time.
0 commit comments