Only filter lists are diff-updatable

This commit is contained in:
Raymond Hill 2023-12-19 11:51:20 -05:00
parent 443c1f81e1
commit 7f2703acd6
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 0 deletions

View File

@ -1204,6 +1204,7 @@ const getAssetDiffDetails = assetKey => {
out.writeTime = cacheEntry.writeTime; out.writeTime = cacheEntry.writeTime;
const assetEntry = assetSourceRegistry[assetKey]; const assetEntry = assetSourceRegistry[assetKey];
if ( assetEntry === undefined ) { return; } if ( assetEntry === undefined ) { return; }
if ( assetEntry.content !== 'filters' ) { return; }
if ( Array.isArray(assetEntry.cdnURLs) ) { if ( Array.isArray(assetEntry.cdnURLs) ) {
out.cdnURLs = assetEntry.cdnURLs.slice(); out.cdnURLs = assetEntry.cdnURLs.slice();
} else if ( reIsExternalPath.test(assetKey) ) { } else if ( reIsExternalPath.test(assetKey) ) {