@@ -130,7 +130,6 @@ export default function DashboardLayout({
|
||||
</nav>
|
||||
|
||||
<div className="p-4 border-t">
|
||||
<LiveIndicator />
|
||||
<LanguageSelector />
|
||||
<div className="mb-3 text-sm">
|
||||
<p className="font-medium truncate">{user.email}</p>
|
||||
|
||||
@@ -524,7 +524,6 @@ function ProductDialog({ product, categories, venueId, onClose }: {
|
||||
<DialogContent>
|
||||
<DialogHeader>
|
||||
<DialogTitle>{isNew ? t('products.new') : t('products.edit_title', { name: product.name })}</DialogTitle>
|
||||
<DialogDescription>{t('products.desc')}</DialogDescription>
|
||||
</DialogHeader>
|
||||
<div className="space-y-4 py-2">
|
||||
<div className="flex items-center gap-4">
|
||||
@@ -570,7 +569,6 @@ function ProductDialog({ product, categories, venueId, onClose }: {
|
||||
</Button>
|
||||
)}
|
||||
</div>
|
||||
<p className="text-xs text-muted-foreground">{t('products.picture_hint')}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="space-y-1.5">
|
||||
@@ -633,9 +631,9 @@ function ProductDialog({ product, categories, venueId, onClose }: {
|
||||
)}
|
||||
{!isNew && (
|
||||
<div className="border-t pt-4 space-y-2">
|
||||
<p className="text-xs text-muted-foreground">
|
||||
{/* <p className="text-xs text-muted-foreground">
|
||||
{product.archivedAt === null ? t('products.archive_desc') : t('products.restore_desc')}
|
||||
</p>
|
||||
</p> */}
|
||||
<Button
|
||||
variant={product.archivedAt === null ? 'outline' : 'secondary'}
|
||||
size="sm"
|
||||
|
||||
Reference in New Issue
Block a user