title: NGRX entity updateOne not working: id undefined
body: <p>I decided to ask for help, I just cannot get my head around NGRX Entity! (This code was created initially by NX ).</p>
  <p>I have followed the NGRX Entity guide, I have also looked at loads of tutorial videos but I still cannot get <strong>NGRX Entity updateOne</strong> to work.
  Getting this error below - I can load the entities into the store with no issue, and these are building my UI fine.</p>
  <p>I have an Entity collection of buttons and want to update the Store State of a button when clicked - that's all!</p>
  <p>(any ideas why this is not working??)</p>
  <pre><code>ERROR TypeError: Cannot read property 'id' of undefined
      at http://localhost:4200/vendor.js:83815:26
      at Array.filter (&lt;anonymous&gt;)
      at updateManyMutably (http://localhost:4200/vendor.js:83811:27)
      at updateOneMutably (http://localhost:4200/vendor.js:83801:16)
      at Object.operation [as updateOne] (http://localhost:4200/vendor.js:83622:27)
      at http://localhost:4200/main.js:1169:28
      at http://localhost:4200/vendor.js:88532:26
      at reducer (http://localhost:4200/main.js:1173:12)
      at http://localhost:4200/vendor.js:87072:20
      at combination (http://localhost:4200/vendor.js:86960:37) 
  </code></pre>
  <p>This is the code I have so far:</p>
  <pre><code>// state
  export interface QuickButton {
      id: number;
      isSelected: boolean;
      title: string;
      linkUrl: string;
  }
  </code></pre>
  <pre><code>// in component
  this.store.dispatch( actions.setQuickFilter( evt ) );
  
  // evt = {id: 1, isSelected: true, linkUrl: &quot;&quot;, title: &quot;Video&quot;}
  </code></pre>
  <pre><code>// in actions
  export const setQuickFilter = createAction(
    '[QuickBar] setQuickFilter',
    props&lt;{update: Update&lt;QuickButton&gt;}&gt;()
  );
  </code></pre>
  <pre><code>// in reducer
  export const QUICKBAR_FEATURE_KEY = 'quickBar';
  
  export interface State extends EntityState&lt;QuickButton&gt; {
    selectedId?: string | number; // which QuickBar record selected
    loaded: boolean; // has the QuickBar list been loaded
    error?: string | null; // last none error (if any)
  }
  
  export interface QuickBarPartialState {
    readonly [QUICKBAR_FEATURE_KEY]: State;
  }
  
  export const quickBarAdapter: EntityAdapter&lt;QuickButton&gt; = createEntityAdapter&lt;QuickButton&gt;();
  
  export const initialState = quickBarAdapter.getInitialState({
    // set initial required properties
    loaded: false,
  });
  
  const quickBarReducer = createReducer(
    initialState,
  
    on(QuickBarActions.loadQuickBarSuccess, (state, action) =&gt;
      quickBarAdapter.addAll( action.quickBar, state )
    ),
    on(QuickBarActions.loadQuickBarFailure, (state, { error }) =&gt; ({
      ...state,
      error,
    })),
  
    on(QuickBarActions.setQuickFilter, (state, {update}) =&gt; {
        /// **** This is NOT Working *****
        return quickBarAdapter.updateOne( update, state);
      } 
    )
  );
  
  export function reducer(state: State | undefined, action: Action) {
    return quickBarReducer(state, action);
  }
  
  export const {
    selectIds,
    selectEntities,
    selectAll,
    selectTotal,
  } = quickBarAdapter.getSelectors();
  
  
  </code></pre>