We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 065b48c commit c1b2613Copy full SHA for c1b2613
src/service-module/getters.js
@@ -55,7 +55,7 @@ export default function makeServiceGetters (servicePath) {
55
return keyedById[id] ? select(params, idField)(keyedById[id]) : undefined
56
},
57
current (state) {
58
- return state.currentId === null ? null : state.keyedById[state.currentId]
+ return state.currentId != null ? state.keyedById[state.currentId] : null
59
60
getCopy (state) {
61
return state.copy ? state.copy : null
0 commit comments