fix: resolver problema de resolucion de modulo jwt y corregir lints de JobsView y service
This commit is contained in:
@@ -10,7 +10,7 @@ import {
|
||||
X,
|
||||
Edit2
|
||||
} from 'lucide-react';
|
||||
import { BackupJobItem, ClientItem, api, SystemSettingsResponse } from '../services/api';
|
||||
import { BackupJobItem, ClientItem, api, SystemSettingsResponse, JobRunItem } from '../services/api';
|
||||
|
||||
interface JobsViewProps {
|
||||
jobs: BackupJobItem[];
|
||||
@@ -45,7 +45,6 @@ export const JobsView: React.FC<JobsViewProps> = ({ jobs, clients, onRefresh, se
|
||||
const [selectedJobForRuns, setSelectedJobForRuns] = useState<BackupJobItem | null>(null);
|
||||
const [runsHistory, setRunsHistory] = useState<JobRunItem[]>([]);
|
||||
const [loadingRuns, setLoadingRuns] = useState(false);
|
||||
const [loading, setLoading] = useState(false);
|
||||
|
||||
const handleShowRuns = async (job: BackupJobItem) => {
|
||||
setSelectedJobForRuns(job);
|
||||
|
||||
Reference in New Issue
Block a user