Use ternary operator instead of two conditionals.

feature/default_network_editable
Dan 7 years ago committed by Chi Kei Chan
parent 64f8a4d22b
commit 3e6b619bd8
  1. 2
      ui/app/reducers/app.js

@ -360,7 +360,7 @@ function reduceApp (state, action) {
return extend(appState, {
currentView: {
name: 'confTx',
context: action.id && indexForPending(state, action.id) || 0,
context: action.id ? indexForPending(state, action.id) : 0,
},
transForward: action.transForward,
warning: null,

Loading…
Cancel
Save