Skip to content

Commit c44b37a

Browse files
Merge pull request #101 from smartcontractkit/fix-limit-chains-fms
fix: use large limit to fetch all chains in FMS chain
2 parents 95aaf5c + 80c8d9f commit c44b37a

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.changeset/hot-mails-rhyme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@smartcontractkit/operator-ui': patch
3+
---
4+
5+
Increase limit for number of chains in FMS

src/screens/FeedsManager/EditSupportedChainDialog.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const EditSupportedChainDialog = ({
3333
const formRef = React.useRef()
3434

3535
const { data: chainData } = useChainsQuery({
36+
variables: { limit: 999 },
3637
fetchPolicy: 'network-only',
3738
})
3839

src/screens/FeedsManager/NewSupportedChainDialog.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export const NewSupportedChainDialog = ({ onClose, open, onSubmit }: Props) => {
2828
const formRef = React.useRef()
2929

3030
const { data: chainData } = useChainsQuery({
31+
variables: { limit: 999 },
3132
fetchPolicy: 'network-only',
3233
})
3334

0 commit comments

Comments
 (0)