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
|
cancelToken: CancelToken
|
||||||
): Promise<ServiceComputeOptions> {
|
): Promise<ServiceComputeOptions> {
|
||||||
const publisherTrustedAlgorithms = values.allowAllPublishedAlgorithms
|
const publisherTrustedAlgorithms = values.allowAllPublishedAlgorithms
|
||||||
? null
|
? []
|
||||||
: await createTrustedAlgorithmList(
|
: await createTrustedAlgorithmList(
|
||||||
values.publisherTrustedAlgorithms,
|
values.publisherTrustedAlgorithms,
|
||||||
assetChainId,
|
assetChainId,
|
||||||
|
@ -41,8 +41,8 @@ export const wizardSteps: StepContent[] = [
|
|||||||
const computeOptions: ServiceComputeOptions = {
|
const computeOptions: ServiceComputeOptions = {
|
||||||
allowRawAlgorithm: false,
|
allowRawAlgorithm: false,
|
||||||
allowNetworkAccess: true,
|
allowNetworkAccess: true,
|
||||||
publisherTrustedAlgorithmPublishers: null,
|
publisherTrustedAlgorithmPublishers: [],
|
||||||
publisherTrustedAlgorithms: null
|
publisherTrustedAlgorithms: []
|
||||||
}
|
}
|
||||||
|
|
||||||
export const initialValues: FormPublishData = {
|
export const initialValues: FormPublishData = {
|
||||||
|
Loading…
Reference in New Issue
Block a user