/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import * as mobx from 'mobx'; import * as mobxlite from 'mobx-react-lite'; import * as React from 'react'; import { AMLProvider } from '../stores/amlSimulations'; export const AMLPicker = mobxlite.observer(({ amlProvider }: { amlProvider: AMLProvider }) => { const selectedRun = amlProvider.selected; const runsToCompareAgainst = amlProvider.runs.filter(run => !selectedRun || selectedRun.kind === run.kind && selectedRun.name !== run.name); return (