mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 18:35:23 +02:00
fix: add Upload button to header to open data source modal
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
16f7af7df3
commit
a8258398f7
@@ -701,6 +701,15 @@ const App: React.FC = () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex items-center gap-3 md:gap-6">
|
<div className="flex items-center gap-3 md:gap-6">
|
||||||
|
{/* Data Source Settings */}
|
||||||
|
<button
|
||||||
|
onClick={() => setIsDataModalOpen(true)}
|
||||||
|
className="flex items-center gap-2 px-3 py-1.5 md:px-4 md:py-2 rounded-xl text-sm font-black uppercase tracking-widest transition-all bg-slate-900 text-slate-300 border border-border hover:border-emerald-500/50 hover:text-white shadow-lg active:scale-95"
|
||||||
|
title="Upload Data"
|
||||||
|
>
|
||||||
|
<UploadIcon />
|
||||||
|
<span className="hidden sm:inline">Upload</span>
|
||||||
|
</button>
|
||||||
{/* Force Sync Action */}
|
{/* Force Sync Action */}
|
||||||
<button
|
<button
|
||||||
onClick={() => { handleDataFetch(); handleAdsFetch(); handleTrafficFetch(); handleVendorStockFetch(); handleBuyBoxFetch(); }}
|
onClick={() => { handleDataFetch(); handleAdsFetch(); handleTrafficFetch(); handleVendorStockFetch(); handleBuyBoxFetch(); }}
|
||||||
|
|||||||
Reference in New Issue
Block a user