Add incremental import support and tracking for database synchronization
This commit is contained in:
@@ -13,7 +13,7 @@ import {
|
||||
AlertDialogTitle,
|
||||
AlertDialogTrigger,
|
||||
} from "@/components/ui/alert-dialog";
|
||||
import { Loader2, RefreshCw, Upload, X, Database } from "lucide-react";
|
||||
import { Loader2, RefreshCw, X, Database } from "lucide-react";
|
||||
import config from '../../config';
|
||||
import { toast } from "sonner";
|
||||
|
||||
@@ -36,11 +36,6 @@ interface ImportProgress {
|
||||
duration?: string;
|
||||
}
|
||||
|
||||
interface ImportLimits {
|
||||
products: number;
|
||||
orders: number;
|
||||
purchaseOrders: number;
|
||||
}
|
||||
|
||||
export function DataManagement() {
|
||||
const [isImportingProd, setIsImportingProd] = useState(false);
|
||||
|
||||
Reference in New Issue
Block a user