We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3261782 commit 2028faeCopy full SHA for 2028fae
1 file changed
src/components/core/compute/utils.ts
@@ -90,8 +90,10 @@ export async function validateAlgoForDataset(
90
CORE_LOGGER.logMessage(`algoDID: ${algoDID}`)
91
if (
92
// if not set allow them all
93
- !compute.publisherTrustedAlgorithms &&
94
- !compute.publisherTrustedAlgorithmPublishers
+ (!compute.publisherTrustedAlgorithms &&
+ !compute.publisherTrustedAlgorithmPublishers) ||
95
+ (compute.publisherTrustedAlgorithms.length === 0 &&
96
+ compute.publisherTrustedAlgorithmPublishers.length === 0)
97
) {
98
CORE_LOGGER.logMessage(
99
`compute.publisherTrustedAlgorithms: ${compute.publisherTrustedAlgorithms}`
0 commit comments