From 88c102aa1af0d02e9916eb37a6d0a57efce086c4 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Tue, 20 Apr 2021 12:50:09 -0500 Subject: [PATCH] Hide not enabled devices --- helpers/build-device-list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/build-device-list.js b/helpers/build-device-list.js index 0311ffd..b7a7993 100644 --- a/helpers/build-device-list.js +++ b/helpers/build-device-list.js @@ -21,7 +21,7 @@ export default async function () { 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 ) return {