diff --git a/api/resolvers/item.js b/api/resolvers/item.js index 781409e0..7e09c97f 100644 --- a/api/resolvers/item.js +++ b/api/resolvers/item.js @@ -697,7 +697,11 @@ export default { status: 'ACTIVE', deletedAt: null, outlawed: false, - parentId: null + parentId: null, + OR: [ + { invoiceActionState: 'PAID' }, + { invoiceActionState: { is: null } } + ] } if (id) { where.id = { not: Number(id) } diff --git a/components/adv-post-form.js b/components/adv-post-form.js index af40d3f8..d1dd53cd 100644 --- a/components/adv-post-form.js +++ b/components/adv-post-form.js @@ -2,7 +2,7 @@ import { useState, useEffect, useMemo, useCallback } from 'react' import AccordianItem from './accordian-item' import { Input, InputUserSuggest, VariableInput, Checkbox } from './form' import InputGroup from 'react-bootstrap/InputGroup' -import { BOOST_MIN, BOOST_MULT, MAX_FORWARDS, SSR } from '@/lib/constants' +import { BOOST_MIN, BOOST_MAX, BOOST_MULT, MAX_FORWARDS, SSR } from '@/lib/constants' import { DEFAULT_CROSSPOSTING_RELAYS } from '@/lib/nostr' import Info from './info' import { abbrNum, numWithUnits } from '@/lib/format' @@ -37,6 +37,7 @@ export function BoostHelp () {
  • The highest boost in a territory over the last 30 days is pinned to the top of the territory
  • The highest boost across all territories over the last 30 days is pinned to the top of the homepage
  • The minimum boost is {numWithUnits(BOOST_MIN, { abbreviate: false })}
  • +
  • The maximum boost is {numWithUnits(BOOST_MAX, { abbreviate: false })}
  • Each {numWithUnits(BOOST_MULT, { abbreviate: false })} of boost is equivalent to a zap-vote from a maximally trusted stacker (very rare)