mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-04-30 13:11:37 +03:00
- client: convert average processing time to milliseconds
This commit is contained in:
parent
63049e0521
commit
17a26155cd
3 changed files with 11 additions and 2 deletions
client/src/helpers
|
@ -233,3 +233,11 @@ export const sortClients = (clients) => {
|
|||
export const toggleAllServices = (services, change, isSelected) => {
|
||||
services.forEach(service => change(`blocked_services.${service.id}`, isSelected));
|
||||
};
|
||||
|
||||
export const secondsToMilliseconds = (seconds) => {
|
||||
if (seconds) {
|
||||
return seconds * 1000;
|
||||
}
|
||||
|
||||
return seconds;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue