mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
empty array for publisherTrustedAlgorithms
& publisherTrustedAlgorithmPublishers
by default
* ref #1538 * ref #1539
This commit is contained in:
parent
cf254aa7c6
commit
edd80eed77
@ -356,7 +356,7 @@ export async function transformComputeFormToServiceComputeOptions(
|
||||
cancelToken: CancelToken
|
||||
): Promise<ServiceComputeOptions> {
|
||||
const publisherTrustedAlgorithms = values.allowAllPublishedAlgorithms
|
||||
? null
|
||||
? []
|
||||
: await createTrustedAlgorithmList(
|
||||
values.publisherTrustedAlgorithms,
|
||||
assetChainId,
|
||||
|
@ -41,8 +41,8 @@ export const wizardSteps: StepContent[] = [
|
||||
const computeOptions: ServiceComputeOptions = {
|
||||
allowRawAlgorithm: false,
|
||||
allowNetworkAccess: true,
|
||||
publisherTrustedAlgorithmPublishers: null,
|
||||
publisherTrustedAlgorithms: null
|
||||
publisherTrustedAlgorithmPublishers: [],
|
||||
publisherTrustedAlgorithms: []
|
||||
}
|
||||
|
||||
export const initialValues: FormPublishData = {
|
||||
|
Loading…
Reference in New Issue
Block a user