mirror of
https://github.com/Retropex/custom-ocean.xyz-dashboard.git
synced 2025-05-12 19:20:45 +02:00
Update workers.js
This commit is contained in:
parent
8e6af4043a
commit
9d8355eb7b
@ -342,7 +342,7 @@ function filterWorkersData(workers) {
|
|||||||
(filterState.currentFilter === 'online' && isOnline) ||
|
(filterState.currentFilter === 'online' && isOnline) ||
|
||||||
(filterState.currentFilter === 'offline' && !isOnline) ||
|
(filterState.currentFilter === 'offline' && !isOnline) ||
|
||||||
(filterState.currentFilter === 'asic' && workerType === 'asic') ||
|
(filterState.currentFilter === 'asic' && workerType === 'asic') ||
|
||||||
(filterState.currentFilter === 'fpga' && workerType === 'fpga');
|
(filterState.currentFilter === 'bitaxe' && workerType === 'bitaxe');
|
||||||
|
|
||||||
const matchesSearch = filterState.searchTerm === '' || workerName.includes(filterState.searchTerm);
|
const matchesSearch = filterState.searchTerm === '' || workerName.includes(filterState.searchTerm);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user