Update the condition for displaying sg721-updatable toggle
This commit is contained in:
parent
6124826d20
commit
e688f86049
@ -13,7 +13,7 @@ import { Tooltip } from 'components/Tooltip'
|
||||
import type { ChangeEvent } from 'react'
|
||||
import { useEffect, useRef, useState } from 'react'
|
||||
import { toast } from 'react-hot-toast'
|
||||
import { SG721_CODE_ID } from 'utils/constants'
|
||||
import { SG721_UPDATABLE_CODE_ID } from 'utils/constants'
|
||||
|
||||
import { TextInput } from '../../forms/FormInput'
|
||||
import type { MinterType } from '../actions/Combobox'
|
||||
@ -245,7 +245,7 @@ export const CollectionDetails = ({ onChange, uploadMethod, coverImageUrl, minte
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Conditional test={SG721_CODE_ID > 0}>
|
||||
<Conditional test={SG721_UPDATABLE_CODE_ID > 0}>
|
||||
<Tooltip
|
||||
backgroundColor="bg-blue-500"
|
||||
label={
|
||||
|
@ -280,7 +280,7 @@ export const UploadDetails = ({ onChange, minterType, baseMinterAcquisitionMetho
|
||||
className="inline-block py-1 px-2 text-gray peer-checked:text-white hover:text-white peer-checked:bg-black peer-checked:border-b-2 hover:border-b-2 peer-checked:border-plumbus hover:border-plumbus cursor-pointer form-check-label"
|
||||
htmlFor="inlineRadio2"
|
||||
>
|
||||
{minterType === 'base' ? 'Upload asset & metadata' : 'Upload assets & metadata'}
|
||||
{minterType === 'base' ? 'Upload assets & metadata' : 'Upload assets & metadata'}
|
||||
</label>
|
||||
</div>
|
||||
<div className="mt-3 ml-2 font-bold form-check form-check-inline">
|
||||
|
Loading…
Reference in New Issue
Block a user