do is instead of get

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2025-09-24 13:47:11 +02:00
parent 5417077b08
commit e037246a3a
+4 -4
View File
@@ -194,7 +194,7 @@ export function filterAndSortProcessors(
}
}
function getProcessorDisabled(processor: CatalogProcessor): boolean {
function isProcessorDisabled(processor: CatalogProcessor): boolean {
return (
getProcessorOptions(processor)?.getOptionalBoolean('disabled') === true
);
@@ -216,7 +216,7 @@ export function filterAndSortProcessors(
}
return processors
.filter(p => !getProcessorDisabled(p))
.filter(p => !isProcessorDisabled(p))
.sort((a, b) => getProcessorPriority(a) - getProcessorPriority(b));
}
@@ -240,11 +240,11 @@ export function filterProviders(
}
}
function getProviderDisabled(provider: EntityProvider): boolean {
function isProviderDisabled(provider: EntityProvider): boolean {
return (
getProviderOptions(provider)?.getOptionalBoolean('disabled') === true
);
}
return providers.filter(p => !getProviderDisabled(p));
return providers.filter(p => !isProviderDisabled(p));
}