Fixed issues caused by last rebase.
import angular from "angular";
import { Elm } from "../../elm/SubmitButton.elm";
import "./svg-icon.js";
-import { getPersonas, currentSkin } from "../selectors";
+import {
+ getOwnedPersonas,
+ currentSkin,
+} from "../selectors/general-selectors.js";
function genComponentConf($ngRedux) {
return {
@@ -49,14 +52,14 @@ function genComponentConf($ngRedux) {
label: scope.label ? scope.label : "Submit",
});
- const personas = getPersonas($ngRedux.getState().get("needs"));
+ const personas = getOwnedPersonas($ngRedux.getState());
if (personas) {
elmApp.ports.personaIn.send(personas.toJS());
}
const disconnectOptions = $ngRedux.connect(state => {
return {
- personas: getPersonas(state.get("needs")),
+ personas: getOwnedPersonas(state),
loggedIn: state.getIn(["user", "loggedIn"]),
};
})(state => {
