fix missing advanced options in bounty/discussion form
This commit is contained in:
parent
0effc065c6
commit
9d31d56ec0
|
@ -17,7 +17,6 @@ export function BountyForm ({
|
|||
bountyLabel = 'bounty',
|
||||
textLabel = 'text',
|
||||
buttonText = 'post',
|
||||
adv,
|
||||
handleSubmit,
|
||||
children
|
||||
}) {
|
||||
|
@ -112,7 +111,7 @@ export function BountyForm ({
|
|||
: null
|
||||
}
|
||||
/>
|
||||
{adv && <AdvPostForm edit={!!item} />}
|
||||
<AdvPostForm edit={!!item} />
|
||||
<div className='mt-3'>
|
||||
{item
|
||||
? (
|
||||
|
|
|
@ -16,7 +16,7 @@ import { SubSelectInitial } from './sub-select-form'
|
|||
export function DiscussionForm ({
|
||||
item, sub, editThreshold, titleLabel = 'title',
|
||||
textLabel = 'text', buttonText = 'post',
|
||||
adv, handleSubmit, children
|
||||
handleSubmit, children
|
||||
}) {
|
||||
const router = useRouter()
|
||||
const client = useApolloClient()
|
||||
|
@ -98,7 +98,7 @@ export function DiscussionForm ({
|
|||
? <div className='text-muted font-weight-bold'><Countdown date={editThreshold} /></div>
|
||||
: null}
|
||||
/>
|
||||
{adv && <AdvPostForm edit={!!item} />}
|
||||
<AdvPostForm edit={!!item} />
|
||||
<div className='mt-3'>
|
||||
{item
|
||||
? (
|
||||
|
|
Loading…
Reference in New Issue