import React from "react"; import { observer } from "mobx-react"; import { Loader } from "eez-studio-ui/loader"; import { BB3Instrument } from "instrument/bb3/objects/BB3Instrument"; import { Section } from "instrument/bb3/components/Section"; import { ListsSectionGlobalActions } from "instrument/bb3/components/lists-section/ListsSectionGlobalActions"; import { ListsSectionList } from "instrument/bb3/components/lists-section/ListsSectionList"; export const ListsSection = observer(({ bb3Instrument }: { bb3Instrument: BB3Instrument }) => { return (
) } body={ bb3Instrument.refreshInProgress ? ( ) : ( <> {bb3Instrument.listsOnInstrumentFetchError && (
Failed to get info about lists on the instruments!
)} {bb3Instrument.lists && ( )} ) } /> ); });