cal.pub0.org/packages/app-store/ee/routing-forms/lib/getFieldIdentifier.ts

6 lines
155 B
TypeScript

import { Field } from "../types/types";
const getFieldIdentifier = (field: Field) => field.identifier || field.label;
export default getFieldIdentifier;