feat: remove pairs from recordings table
This commit is contained in:
@@ -16,7 +16,7 @@ import { useGlobalInfoStore } from "../../context/globalInfo";
|
|||||||
import { deleteRecordingFromStorage, getStoredRecordings } from "../../api/storage";
|
import { deleteRecordingFromStorage, getStoredRecordings } from "../../api/storage";
|
||||||
|
|
||||||
interface Column {
|
interface Column {
|
||||||
id: 'interpret' | 'name' | 'create_date' | 'edit' | 'pairs' | 'update_date' | 'delete' | 'schedule' | 'integrate';
|
id: 'interpret' | 'name' | 'create_date' | 'edit' | 'update_date' | 'delete' | 'schedule' | 'integrate';
|
||||||
label: string;
|
label: string;
|
||||||
minWidth?: number;
|
minWidth?: number;
|
||||||
align?: 'right';
|
align?: 'right';
|
||||||
@@ -37,11 +37,6 @@ const columns: readonly Column[] = [
|
|||||||
label: 'Edit',
|
label: 'Edit',
|
||||||
minWidth: 80,
|
minWidth: 80,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id: 'pairs',
|
|
||||||
label: 'Pairs',
|
|
||||||
minWidth: 80,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: 'schedule',
|
id: 'schedule',
|
||||||
label: 'Schedule',
|
label: 'Schedule',
|
||||||
@@ -69,7 +64,6 @@ interface Data {
|
|||||||
id: number;
|
id: number;
|
||||||
name: string;
|
name: string;
|
||||||
create_date: string;
|
create_date: string;
|
||||||
pairs: number;
|
|
||||||
update_date: string;
|
update_date: string;
|
||||||
content: WorkflowFile;
|
content: WorkflowFile;
|
||||||
params: string[];
|
params: string[];
|
||||||
@@ -273,4 +267,4 @@ const IntegrateButton = ({ handleIntegrate }: IntegrateButtonProps) => {
|
|||||||
<LinkIcon />
|
<LinkIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user