fix: print and open-standalone icon-only, right-aligned in toolbar

This commit is contained in:
Agent Zero
2026-07-28 12:42:49 +02:00
parent 7194240a32
commit 65bb9c9866
2 changed files with 27 additions and 19 deletions
+6 -4
View File
@@ -351,24 +351,26 @@ export function ContactsListPage() {
icon: <Bookmark className="w-3.5 h-3.5" strokeWidth={2} />,
onClick: () => setSavedFiltersOpen(true),
},
// Print
// Print — icon only, right side
{
id: 'print',
plugin: 'contacts',
label: t('common.print', 'Drucken'),
type: 'button' as const,
group: 'actions',
group: 'zz-right',
icon: <Printer className="w-3.5 h-3.5" strokeWidth={2} />,
iconOnly: true,
onClick: () => window.print(),
},
// Open standalone
// Open standalone — icon only, right side
{
id: 'open-standalone',
plugin: 'contacts',
label: 'In neuem Fenster',
type: 'button' as const,
group: 'actions',
group: 'zz-right',
icon: <ExternalLink className="w-3.5 h-3.5" strokeWidth={2} />,
iconOnly: true,
onClick: () => window.open('/contacts-standalone', '_blank', 'width=1200,height=800'),
},
];