This commit is contained in:
13
app/dashboard/admin/vendors/page.tsx
vendored
13
app/dashboard/admin/vendors/page.tsx
vendored
@@ -250,9 +250,9 @@ export default function AdminVendorsPage() {
|
||||
{vendor.storeId ? (
|
||||
<div className="flex items-center gap-2 group/store">
|
||||
<span className="font-mono text-xs">{vendor.storeId}</span>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
className="h-6 w-6 opacity-0 group-hover/store:opacity-100 transition-opacity"
|
||||
onClick={() => handleEditStore(vendor)}
|
||||
>
|
||||
@@ -262,9 +262,9 @@ export default function AdminVendorsPage() {
|
||||
) : (
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-muted-foreground italic text-xs">No store</span>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
className="h-6 w-6 text-muted-foreground hover:text-primary"
|
||||
onClick={() => handleEditStore(vendor)}
|
||||
>
|
||||
@@ -350,7 +350,6 @@ export default function AdminVendorsPage() {
|
||||
)}
|
||||
</CardContent>
|
||||
</Card>
|
||||
</Card>
|
||||
|
||||
<Dialog open={isEditStoreOpen} onOpenChange={setIsEditStoreOpen}>
|
||||
<DialogContent className="sm:max-w-[425px]">
|
||||
|
||||
Reference in New Issue
Block a user