This commit is contained in:
burnettk 2022-11-08 12:50:39 -05:00
parent fdfb455b02
commit 46744a5cd8
1 changed files with 0 additions and 16 deletions

View File

@ -12,7 +12,6 @@ import {
import {
Accordion,
AccordionItem,
Dropdown,
Button,
Stack,
ButtonSet,
@ -32,14 +31,6 @@ import ErrorContext from '../contexts/ErrorContext';
import { ProcessFile, ProcessModel, RecentProcessModel } from '../interfaces';
import ButtonWithConfirmation from '../components/ButtonWithConfirmation';
interface ProcessModelFileCarbonDropdownItem {
label: string;
action: string;
processModelFile: ProcessFile;
needsConfirmation: boolean;
icon: any;
}
const storeRecentProcessModelInLocalStorage = (
processModelForStorage: any,
params: any
@ -189,13 +180,6 @@ export default function ProcessModelShow() {
});
};
const onProcessModelFileAction = (selection: any) => {
const { selectedItem } = selection;
if (selectedItem.action === 'delete') {
onDeleteFile(selectedItem.processModelFile.name);
}
};
const onSetPrimaryFile = (fileName: string) => {
const url = `/process-models/${params.process_group_id}/${params.process_model_id}`;
const httpMethod = 'PUT';