mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
fix(@cockpit/utils): properly detect if ENS is enabled
With the move of Embark's modules into their own packages, the names under which they are registered in the API service have changed as well. This caused Cockpit to no longer being able to properly detect whether ENS is enabled in the current Embark project
This commit is contained in:
parent
3aca2fe17b
commit
7a0609b66c
@ -170,7 +170,7 @@ export function getEnsErrors(state) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function isEnsEnabled(state) {
|
export function isEnsEnabled(state) {
|
||||||
return Boolean(state.entities.plugins.find((plugin) => plugin.name === 'ens'));
|
return Boolean(state.entities.plugins.find((plugin) => plugin.name === 'embark-ens'));
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getFiles(state) {
|
export function getFiles(state) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user