diff --git a/src/dashboard.py b/src/dashboard.py index 40ead22..9593629 100644 --- a/src/dashboard.py +++ b/src/dashboard.py @@ -799,7 +799,7 @@ class WireguardConfiguration: sqldb.cursor().execute( "UPDATE %s SET cumu_receive = ?, cumu_sent = ?, cumu_data = ? WHERE id = ?" % self.Name, (cumulative_receive, cumulative_sent, - rcumulative_sent + cumulative_receive, + cumulative_sent + cumulative_receive, data_usage[i][0],)) total_sent = 0 total_receive = 0 diff --git a/src/static/app/src/App.vue b/src/static/app/src/App.vue index a4f7ac4..010e9c6 100644 --- a/src/static/app/src/App.vue +++ b/src/static/app/src/App.vue @@ -12,7 +12,7 @@ const store = DashboardConfigurationStore(); - + @@ -22,14 +22,16 @@ const store = DashboardConfigurationStore(); \ No newline at end of file diff --git a/src/static/app/src/components/configurationComponents/peerSearch.vue b/src/static/app/src/components/configurationComponents/peerSearch.vue index 165005b..c7cf430 100644 --- a/src/static/app/src/components/configurationComponents/peerSearch.vue +++ b/src/static/app/src/components/configurationComponents/peerSearch.vue @@ -93,9 +93,8 @@ export default { @click="this.downloadAllPeer()"> Download All -
- - +
- - - - - - - -