File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
apps/dashboard/lib/dashboard_web/live Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 4343 Inserting Data
4444 < span class = "records_inserted " > < strong > Record Inserted: </ strong > <%= progress %> </ span >
4545 < div class = "progress " >
46+ <%= percentage_progress = if ( row_count == 0 , do: 100 , else: ( progress / row_count ) * 100 ) %>
4647 < div
4748 class = "progress-bar progress-bar-striped progress-bar-animated bg-success "
4849 role = "progressbar "
49- style = "width: <%= (progress / row_count) * 100 %>% " >
50- < span class = "progress-percentage " > <%= Float . round ( ( progress / row_count ) * 100 , 2 ) %> % </ span >
50+ style = "width: <%= percentage_progress %>% " >
51+ < span class = "progress-percentage " > <%= Float . round ( percentage_progress * 1.0 , 2 ) %> % </ span >
5152 </ div > %>
5253 </ div >
5354
You can’t perform that action at this time.
0 commit comments