lint
This commit is contained in:
parent
ad15cd61d8
commit
124d4e2eb0
|
@ -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