export const peripherals2Ddi =
  (peripherals: TaggedPeripheral[]): DropDownItem[] =>
    peripherals
      .filter(x => x.body.id)
      .map(x => ({