fix: print and open-standalone icon-only, right-aligned in toolbar
This commit is contained in:
@@ -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'),
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user