diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx
index c7aaecf..08af7a3 100644
--- a/frontend/src/App.jsx
+++ b/frontend/src/App.jsx
@@ -507,6 +507,7 @@ function QuickLinks({ toast, mobile }) {
function TodoList({ toast }) {
const [items, setItems] = useState([]);
const [text, setText] = useState('');
+ const [isOpen, setIsOpen] = useState(true);
useEffect(() => { api('/dashboard/todos').then(setItems).catch(() => {}); }, []);
const add = async () => {
@@ -528,8 +529,13 @@ function TodoList({ toast }) {
return (
-
TO-DO
-
+
+ {isOpen && <>
setText(e.target.value)}
onKeyDown={e => e.key==='Enter' && add()}
style={{ ...S.inp, flex:1, fontSize:16 }} placeholder="Neue Aufgabe…" />
@@ -565,7 +571,7 @@ function TodoList({ toast }) {
))}
>
)}
-
+
>}
);
}
@@ -574,6 +580,7 @@ function Notepad({ toast }) {
const [content, setContent] = useState('');
const [saved, setSaved] = useState(true);
const [saveTime, setSaveTime] = useState(null);
+ const [isOpen, setIsOpen] = useState(true);
const tmr = useRef(null);
useEffect(() => {
@@ -590,15 +597,20 @@ function Notepad({ toast }) {
return (
-
-
NOTIZEN
-
+
+
+ {isOpen &&
{saved ? (saveTime ? `✓ ${new Date(saveTime).toLocaleTimeString('de-DE', { hour:'2-digit', minute:'2-digit' })}` : '✓') : '…'}
-
+
}
-
);
}