fix: restore Printer icon to collapsed desktop rail

Print button was accidentally dropped when the history flyout was
slimmed to undo/redo only. Restored next to Refresh in the rail.

v1.111.5
This commit is contained in:
mARTin-B78 2026-05-11 15:52:04 +02:00
parent 0e189e53b3
commit 07401d3dfa
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "my-weekly-todo-list",
"version": "1.111.4",
"version": "1.111.5",
"description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view",
"main": "index.js",
"scripts": {

View File

@ -5932,8 +5932,9 @@ export default function WeeklyView() {
{railSep}
{/* History flyout (undo / redo) */}
<button style={{ ...railIconBtnStyle, opacity: undoCount === 0 && redoCount === 0 ? 0.5 : 1 }} title={profile.language === "de" ? "Verlauf" : "History"} onMouseEnter={(e) => openFlyout("history", e)} onMouseLeave={closeFlyoutDelayed}><Undo2 size={15} /></button>
{/* Refresh */}
{/* Refresh + Print */}
<button onClick={() => { fetchCalendarEvents(true); fetchTasks(); }} style={{ ...railIconBtnStyle }} title="Refresh"><RefreshCcw size={15} /></button>
<button onClick={() => setShowWeekPrintModal(true)} style={{ ...railIconBtnStyle }} title={profile.language === "de" ? "Drucken" : "Print"}><Printer size={15} /></button>
<div style={{ flex: 1 }} />
{railSep}
{/* Settings (cogwheel) + User menu at bottom */}