web/js/store/settings_reducer.js
/**
 * When deleting al abel that's the current labels:default,
 * reset it to the old default.
 */
When deleting al abel that's the current labels:default,
reset it to the old default.
When deleting al abel that ' s the current labels : default reset it to the old default .
function deleteLabel (state , { id } )  {
  let settings  = state.settings || {}
  if (settings['labels:default'] === id) {
    settings = del(settings, 'labels:default')
  }
  return { ...state, settings }
}
function deleteLabel ( state , { id } ) { let settings = state . settings || { } if ( settings [ 'labels:default' ] === id ) { settings = del ( settings , 'labels:default' ) } return { ... state , settings } }
When deleting al abel that's the current labels:default,
 reset it to the old default.
When deleting al abel that ' s the current labels : default reset it to the old default .
/*: State */ /*: { id: string } */ /*: State */ /*: Settings */