1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { ownerNameActions, OwnerNameAction } from './owner-name-actions';
7 export const ownerNameReducer = (state = [], action: OwnerNameAction) =>
8 ownerNameActions.match(action, {
9 SET_OWNER_NAME: data => [...state, { uuid: data.uuid, name: data.name }],