From 7a0609b66c2e07bc4615c6789ab193af52232e1e Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Wed, 22 May 2019 12:54:58 +0200 Subject: [PATCH] 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 --- packages/embark-ui/src/reducers/selectors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/embark-ui/src/reducers/selectors.js b/packages/embark-ui/src/reducers/selectors.js index 20c6707a2..5be9cc9c7 100644 --- a/packages/embark-ui/src/reducers/selectors.js +++ b/packages/embark-ui/src/reducers/selectors.js @@ -170,7 +170,7 @@ export function getEnsErrors(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) {