Update derive.bagsList to detect voterList pallet (#4910)

* Update `derive.bagsList` to detect `voterList` pallet

* Adjust

* Adjust
This commit is contained in:
Jaco
2022-06-08 16:45:48 +03:00
committed by GitHub
parent dfd45e866b
commit 60640b4c6c
4 changed files with 9 additions and 6 deletions
+3 -2
View File
@@ -23,8 +23,9 @@ export { lazyDeriveSection };
// Enable derive only if some of these modules are available
const checks: Record<string, Avail> = {
bagsList: {
instances: ['bagsList'],
methods: []
instances: ['voterList', 'bagsList'],
methods: [],
withDetect: true
},
contracts: {
instances: ['contracts'],