lint
This commit is contained in:
parent
fdfb455b02
commit
46744a5cd8
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue