refactor: restrict sample data download link to demo environment only

This commit is contained in:
2025-11-12 20:36:00 +01:00
parent c648009317
commit 094d96d7ab
+1 -1
View File
@@ -15,7 +15,7 @@ export default async function ImportPage() {
<h1 className="text-2xl font-bold">Mass Import</h1>
</div>
<div className="flex items-center justify-end gap-4">
{ENVIRONMENT !== "production" && (
{ENVIRONMENT === "demo" && (
<Link href="/sample_data.csv" download>
<Button variant="outline">
<Download />