mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Hide not enabled devices
This commit is contained in:
parent
5e42ad0061
commit
88c102aa1a
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ export default async function () {
|
||||||
console.warn('Error fetching device list', error)
|
console.warn('Error fetching device list', error)
|
||||||
})
|
})
|
||||||
|
|
||||||
return rawDeviceList.filter( device => ( device.type !== 'ios' ) ).map( device => {
|
return rawDeviceList.filter( device => ( device.enabled !== 'no' ) ).map( device => {
|
||||||
const slug = makeSlug( device.name )
|
const slug = makeSlug( device.name )
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue