Compare commits

...

49 Commits

Author SHA1 Message Date
Henry Whitaker
5e5e9d8992 Merge pull request #371 from henrywhitaker3/alpha 2020-11-07 15:18:11 +00:00
Henry Whitaker
d16889f406 Updated dependencies 2020-11-07 15:11:11 +00:00
Henry Whitaker
5d0020a707 Merge pull request #353 from henrywhitaker3/dependabot/npm_and_yarn/dev/resolve-url-loader-3.1.2
Bump resolve-url-loader from 3.1.1 to 3.1.2
2020-11-07 15:02:38 +00:00
Henry Whitaker
e9d8f4754b Merge branch 'alpha' into dependabot/npm_and_yarn/dev/resolve-url-loader-3.1.2 2020-11-07 15:02:32 +00:00
Henry Whitaker
18439da15a Merge pull request #349 from henrywhitaker3/dependabot/npm_and_yarn/dev/babel/plugin-proposal-class-properties-7.12.1 2020-11-07 15:01:54 +00:00
Henry Whitaker
2919c9fb9b Merge branch 'alpha' into dependabot/npm_and_yarn/dev/babel/plugin-proposal-class-properties-7.12.1 2020-11-07 15:01:45 +00:00
Henry Whitaker
3097c244de Merge pull request #318 from henrywhitaker3/dependabot/composer/dev/doctrine/dbal-2.10.4
Bump doctrine/dbal from 2.10.3 to 2.10.4
2020-11-07 15:00:51 +00:00
Henry Whitaker
6c64613628 Merge pull request #332 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-toastify-6.0.9
Bump react-toastify from 6.0.8 to 6.0.9
2020-11-07 15:00:37 +00:00
Henry Whitaker
2e39a238e7 Merge pull request #364 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-loader-10.0.5 2020-11-07 15:00:01 +00:00
Henry Whitaker
8e003017bd Merge pull request #333 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.28.4 2020-11-07 14:59:44 +00:00
Henry Whitaker
9190385f93 Merge branch 'alpha' into dependabot/composer/dev/laravel/framework-7.28.4 2020-11-07 14:59:30 +00:00
Henry Whitaker
226e2c42a7 Merge pull request #340 from henrywhitaker3/dependabot/composer/dev/guzzlehttp/guzzle-7.2.0
Bump guzzlehttp/guzzle from 7.0.1 to 7.2.0
2020-11-07 14:57:55 +00:00
Henry Whitaker
c55baae478 Merge pull request #342 from henrywhitaker3/dependabot/composer/dev/dragonmantank/cron-expression-2.3.1
Bump dragonmantank/cron-expression from 2.3.0 to 2.3.1
2020-11-07 14:57:39 +00:00
Henry Whitaker
7654da9559 Merge pull request #343 from henrywhitaker3/dependabot/npm_and_yarn/dev/bootstrap-4.5.3
Bump bootstrap from 4.5.2 to 4.5.3
2020-11-07 14:57:23 +00:00
Henry Whitaker
7922955217 Merge pull request #344 from henrywhitaker3/dependabot/composer/dev/facade/ignition-2.4.1 2020-11-07 14:57:06 +00:00
Henry Whitaker
c90b40a96f Merge branch 'alpha' into dependabot/composer/dev/facade/ignition-2.4.1 2020-11-07 14:56:58 +00:00
dependabot-preview[bot]
72ff3317fa Bump @babel/plugin-proposal-class-properties from 7.10.4 to 7.12.1
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.10.4 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-07 14:56:51 +00:00
dependabot-preview[bot]
b00db26910 Bump resolve-url-loader from 3.1.1 to 3.1.2
Bumps [resolve-url-loader](https://github.com/bholloway/resolve-url-loader) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/bholloway/resolve-url-loader/releases)
- [Commits](https://github.com/bholloway/resolve-url-loader/compare/3.1.1...3.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-07 14:56:31 +00:00
Henry Whitaker
b31252a7b3 Merge pull request #345 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-16.14.0
Bump react from 16.13.1 to 16.14.0
2020-11-07 14:55:18 +00:00
Henry Whitaker
a836967445 Merge pull request #351 from henrywhitaker3/dependabot/npm_and_yarn/dev/chart.js-2.9.4
Bump chart.js from 2.9.3 to 2.9.4
2020-11-07 14:54:21 +00:00
Henry Whitaker
ced5a2e7a4 Merge pull request #356 from henrywhitaker3/dependabot/composer/dev/fideloper/proxy-4.4.1
Bump fideloper/proxy from 4.4.0 to 4.4.1
2020-11-07 14:53:37 +00:00
Henry Whitaker
270abea478 Merge pull request #357 from henrywhitaker3/dependabot/composer/dev/fruitcake/laravel-cors-2.0.3
Bump fruitcake/laravel-cors from 2.0.2 to 2.0.3
2020-11-07 14:53:21 +00:00
Henry Whitaker
efc9b29360 Merge pull request #361 from henrywhitaker3/dependabot/composer/dev/nunomaduro/collision-4.3.0
Bump nunomaduro/collision from 4.2.0 to 4.3.0
2020-11-07 14:53:04 +00:00
Henry Whitaker
b9d289c9d2 Merge pull request #363 from henrywhitaker3/dependabot/composer/dev/nunomaduro/larastan-0.6.9
Bump nunomaduro/larastan from 0.6.4 to 0.6.9
2020-11-07 14:52:46 +00:00
Henry Whitaker
1562e13e19 Merge branch 'alpha' into dependabot/npm_and_yarn/dev/sass-loader-10.0.5 2020-11-07 14:52:15 +00:00
Henry Whitaker
0b00ba2304 Merge pull request #365 from henrywhitaker3/dependabot/npm_and_yarn/dev/babel/preset-react-7.12.5
Bump @babel/preset-react from 7.10.4 to 7.12.5
2020-11-07 14:51:19 +00:00
Henry Whitaker
5f5b731fbe Merge pull request #366 from henrywhitaker3/dependabot/composer/dev/laravel/ui-2.5.0
Bump laravel/ui from 2.3.0 to 2.5.0
2020-11-07 14:51:00 +00:00
Henry Whitaker
dd7df0df81 Merge pull request #367 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-1.29.0
Bump sass from 1.26.10 to 1.29.0
2020-11-07 14:50:37 +00:00
Henry Whitaker
0e454f8143 Merge pull request #369 from henrywhitaker3/dependabot/npm_and_yarn/dev/laravel-mix-5.0.9 2020-11-07 14:49:27 +00:00
dependabot-preview[bot]
f61be56f2e Bump laravel-mix from 5.0.5 to 5.0.9
Bumps [laravel-mix](https://github.com/JeffreyWay/laravel-mix) from 5.0.5 to 5.0.9.
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Changelog](https://github.com/JeffreyWay/laravel-mix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JeffreyWay/laravel-mix/compare/v5.0.5...v5.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-06 07:40:50 +00:00
dependabot-preview[bot]
f33af5fc41 Bump sass from 1.26.10 to 1.29.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.26.10 to 1.29.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.26.10...1.29.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-05 07:51:28 +00:00
dependabot-preview[bot]
861d354d15 Bump laravel/ui from 2.3.0 to 2.5.0
Bumps [laravel/ui](https://github.com/laravel/ui) from 2.3.0 to 2.5.0.
- [Release notes](https://github.com/laravel/ui/releases)
- [Changelog](https://github.com/laravel/ui/blob/v2.5.0/CHANGELOG.md)
- [Commits](https://github.com/laravel/ui/compare/v2.3.0...v2.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-04 10:48:49 +00:00
dependabot-preview[bot]
07b419801c Bump @babel/preset-react from 7.10.4 to 7.12.5
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.10.4 to 7.12.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.5/packages/babel-preset-react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-04 07:28:45 +00:00
dependabot-preview[bot]
be2be4583c Bump sass-loader from 10.0.2 to 10.0.5
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.0.2 to 10.0.5.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.0.2...v10.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-03 07:50:01 +00:00
dependabot-preview[bot]
b05168ac6f Bump nunomaduro/larastan from 0.6.4 to 0.6.9
Bumps [nunomaduro/larastan](https://github.com/nunomaduro/larastan) from 0.6.4 to 0.6.9.
- [Release notes](https://github.com/nunomaduro/larastan/releases)
- [Changelog](https://github.com/nunomaduro/larastan/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nunomaduro/larastan/compare/v0.6.4...v0.6.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 09:44:54 +00:00
dependabot-preview[bot]
c70e7a26c4 Bump nunomaduro/collision from 4.2.0 to 4.3.0
Bumps [nunomaduro/collision](https://github.com/nunomaduro/collision) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/nunomaduro/collision/releases)
- [Changelog](https://github.com/nunomaduro/collision/blob/v4.3.0/CHANGELOG.md)
- [Commits](https://github.com/nunomaduro/collision/compare/v4.2.0...v4.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-30 09:38:47 +00:00
dependabot-preview[bot]
daf9975853 Bump fruitcake/laravel-cors from 2.0.2 to 2.0.3
Bumps [fruitcake/laravel-cors](https://github.com/fruitcake/laravel-cors) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/fruitcake/laravel-cors/releases)
- [Changelog](https://github.com/fruitcake/laravel-cors/blob/master/changelog.md)
- [Commits](https://github.com/fruitcake/laravel-cors/compare/v2.0.2...v2.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-23 09:14:04 +00:00
dependabot-preview[bot]
7a03c64ceb Bump fideloper/proxy from 4.4.0 to 4.4.1
Bumps [fideloper/proxy](https://github.com/fideloper/TrustedProxy) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/fideloper/TrustedProxy/releases)
- [Commits](https://github.com/fideloper/TrustedProxy/compare/4.4.0...4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-23 09:12:36 +00:00
dependabot-preview[bot]
29a0b3d0a1 Bump chart.js from 2.9.3 to 2.9.4
Bumps [chart.js](https://github.com/chartjs/Chart.js) from 2.9.3 to 2.9.4.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](https://github.com/chartjs/Chart.js/compare/v2.9.3...v2.9.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 16:24:45 +00:00
dependabot-preview[bot]
1c09d39b1e Bump react from 16.13.1 to 16.14.0
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.13.1 to 16.14.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.14.0/packages/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-15 10:02:53 +00:00
dependabot-preview[bot]
439c6322f2 Bump facade/ignition from 2.3.7 to 2.4.1
Bumps [facade/ignition](https://github.com/facade/ignition) from 2.3.7 to 2.4.1.
- [Release notes](https://github.com/facade/ignition/releases)
- [Changelog](https://github.com/facade/ignition/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facade/ignition/compare/2.3.7...2.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-15 09:24:12 +00:00
dependabot-preview[bot]
d093a89829 Bump bootstrap from 4.5.2 to 4.5.3
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.5.2...v4.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-14 02:51:17 +00:00
dependabot-preview[bot]
6ffd59485a Bump dragonmantank/cron-expression from 2.3.0 to 2.3.1
Bumps [dragonmantank/cron-expression](https://github.com/dragonmantank/cron-expression) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/dragonmantank/cron-expression/releases)
- [Changelog](https://github.com/dragonmantank/cron-expression/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dragonmantank/cron-expression/compare/v2.3.0...v2.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-13 08:41:44 +00:00
dependabot-preview[bot]
7dd7cdda8c Bump guzzlehttp/guzzle from 7.0.1 to 7.2.0
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.0.1 to 7.2.0.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.0.1...7.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 10:39:41 +00:00
dependabot-preview[bot]
15e4537ea6 Bump laravel/framework from 7.28.1 to 7.28.4
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.28.1 to 7.28.4.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/8.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.28.1...v7.28.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 09:52:23 +00:00
dependabot-preview[bot]
4403cf161c Bump react-toastify from 6.0.8 to 6.0.9
Bumps [react-toastify](https://github.com/fkhadra/react-toastify) from 6.0.8 to 6.0.9.
- [Release notes](https://github.com/fkhadra/react-toastify/releases)
- [Commits](https://github.com/fkhadra/react-toastify/compare/v6.0.8...v6.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 07:44:27 +00:00
dependabot-preview[bot]
7a950b838a Bump doctrine/dbal from 2.10.3 to 2.10.4
Bumps [doctrine/dbal](https://github.com/doctrine/dbal) from 2.10.3 to 2.10.4.
- [Release notes](https://github.com/doctrine/dbal/releases)
- [Commits](https://github.com/doctrine/dbal/compare/2.10.3...2.10.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 09:17:49 +00:00
Henry Whitaker
21d3aea934 Merge pull request #317 from henrywhitaker3/alpha
Fixed min setting bug
2020-09-11 01:26:35 +01:00
Henry Whitaker
342d3fabf4 Fixed min setting bug 2020-09-11 01:23:25 +01:00
10 changed files with 153581 additions and 1425 deletions

View File

@@ -1,6 +1,6 @@
# Speedtest Tracker
[![Docker pulls](https://img.shields.io/docker/pulls/henrywhitaker3/speedtest-tracker?style=flat-square)](https://hub.docker.com/r/henrywhitaker3/speedtest-tracker) [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/henrywhitaker3/Speedtest-Tracker/Stable?label=master&logo=github&style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/actions) [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/henrywhitaker3/Speedtest-Tracker/Dev?label=dev&logo=github&style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/actions) [![last_commit](https://img.shields.io/github/last-commit/henrywhitaker3/Speedtest-Tracker?style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/commits) [![issues](https://img.shields.io/github/issues/henrywhitaker3/Speedtest-Tracker?style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/issues) [![commit_freq](https://img.shields.io/github/commit-activity/m/henrywhitaker3/Speedtest-Tracker?style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/commits) ![version](https://img.shields.io/badge/version-v1.9.7-success?style=flat-square) [![license](https://img.shields.io/github/license/henrywhitaker3/Speedtest-Tracker?style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/blob/master/LICENSE)
[![Docker pulls](https://img.shields.io/docker/pulls/henrywhitaker3/speedtest-tracker?style=flat-square)](https://hub.docker.com/r/henrywhitaker3/speedtest-tracker) [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/henrywhitaker3/Speedtest-Tracker/Stable?label=master&logo=github&style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/actions) [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/henrywhitaker3/Speedtest-Tracker/Dev?label=dev&logo=github&style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/actions) [![last_commit](https://img.shields.io/github/last-commit/henrywhitaker3/Speedtest-Tracker?style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/commits) [![issues](https://img.shields.io/github/issues/henrywhitaker3/Speedtest-Tracker?style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/issues) [![commit_freq](https://img.shields.io/github/commit-activity/m/henrywhitaker3/Speedtest-Tracker?style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/commits) ![version](https://img.shields.io/badge/version-v1.9.9-success?style=flat-square) [![license](https://img.shields.io/github/license/henrywhitaker3/Speedtest-Tracker?style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/blob/master/LICENSE)
This program runs a speedtest check every hour and graphs the results. The back-end is written in [Laravel](https://laravel.com/) and the front-end uses [React](https://reactjs.org/). It uses the [Ookla's speedtest cli](https://www.speedtest.net/apps/cli) package to get the data and uses [Chart.js](https://www.chartjs.org/) to plot the results.

View File

@@ -144,7 +144,7 @@ class SpeedtestController extends Controller
$response['maximum'] = $max;
}
if (SettingsHelper::get('show_average')) {
if (SettingsHelper::get('show_min')) {
$min = Speedtest::select(DB::raw('MIN(ping) as ping, MIN(download) as download, MIN(upload) as upload'))
->where('failed', false)
->first()

View File

@@ -1,4 +1,16 @@
{
"1.9.9": [
{
"description": "Updated dependencies.",
"link": ""
}
],
"1.9.8": [
{
"description": "Fixed bug with minimum display setting.",
"link": ""
}
],
"1.9.7": [
{
"description": "Added option to display minimum values on the top widgets.",

757
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -7,7 +7,7 @@ return [
|--------------------------------------------------------------------------
*/
'version' => '1.9.7',
'version' => '1.9.9',
/*
|--------------------------------------------------------------------------

1959
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -10,29 +10,29 @@
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"devDependencies": {
"@babel/preset-react": "^7.10.4",
"@babel/preset-react": "^7.12.5",
"axios": "^0.20",
"bootstrap": "^4.5.2",
"bootstrap": "^4.5.3",
"cross-env": "^7.0",
"jquery": "^3.5",
"laravel-mix": "^5.0.5",
"laravel-mix": "^5.0.9",
"lodash": "^4.17.20",
"popper.js": "^1.12",
"react": "^16.2.0",
"react": "^16.14.0",
"react-dom": "^16.2.0",
"resolve-url-loader": "^3.1.0",
"sass": "^1.26.10",
"sass-loader": "^10.0.2"
"resolve-url-loader": "^3.1.2",
"sass-loader": "^10.0.5",
"sass": "^1.29.0"
},
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.10.4",
"chart.js": "^2.9.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"chart.js": "^2.9.4",
"csv-file-validator": "^1.8.0",
"js-cookie": "^2.2.1",
"react-bootstrap": "^1.3.0",
"react-chartjs-2": "^2.10.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-toastify": "^6.0.8"
"react-toastify": "^6.0.9"
}
}

10901
public/css/app.css vendored

File diff suppressed because one or more lines are too long

141345
public/js/app.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -30,7 +30,7 @@ export default class Widget extends Component {
returnData.max = parseFloat(data.maximum.ping).toFixed(1);
}
if(window.config.widgets.show_max) {
if(window.config.widgets.show_min) {
returnData.min = parseFloat(data.minimum.ping).toFixed(1);
}
}
@@ -46,7 +46,7 @@ export default class Widget extends Component {
returnData.max = parseFloat(data.maximum.upload).toFixed(1);
}
if(window.config.widgets.show_max) {
if(window.config.widgets.show_min) {
returnData.min = parseFloat(data.minimum.upload).toFixed(1);
}
}
@@ -62,7 +62,7 @@ export default class Widget extends Component {
returnData.max = parseFloat(data.maximum.download).toFixed(1);
}
if(window.config.widgets.show_max) {
if(window.config.widgets.show_min) {
returnData.min = parseFloat(data.minimum.download).toFixed(1);
}
}