mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Use memoized device list
This commit is contained in:
parent
a83583081c
commit
bb51ca79c3
1 changed files with 1 additions and 1 deletions
|
|
@ -435,7 +435,7 @@ class BuildLists {
|
|||
|
||||
// Add device support
|
||||
if ( this.shouldHaveDeviceSupport( listEntry ) ) {
|
||||
const deviceList = this.getListArray( 'device' )
|
||||
const deviceList = this.getListArrayMemoized( 'device' )
|
||||
|
||||
listEntry.deviceSupport = deviceList.map( device => {
|
||||
const supportsApp = deviceSupportsApp( device, listEntry )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue