diff --git a/ui/src/views/Forecast.jsx b/ui/src/views/Forecast.jsx index 7358f8d..ae7b87f 100644 --- a/ui/src/views/Forecast.jsx +++ b/ui/src/views/Forecast.jsx @@ -1394,7 +1394,7 @@ export default function Forecast({ sources = [], sourceId, versions = [], versio {/* History modal */} {showLog && (
setShowLog(false)}> -
e.stopPropagation()}> +
e.stopPropagation()}>
Change History @@ -1406,29 +1406,29 @@ export default function Forecast({ sources = [], sourceId, versions = [], versio ) : logEntries.length === 0 ? (
No log entries yet.
) : ( - +
- - - - - - - - + + + + + + + + {logEntries.map(entry => ( - - + - - - + -
TimeOpSliceTagNoteValueRowsTimeOpSliceTagNoteValueRows
{fmtStamp(entry.stamp)} + {fmtStamp(entry.stamp)} {entry.operation} + 0 ? 'text-green-700' : entry.value_total < 0 ? 'text-red-600' : 'text-gray-400'}`}> {entry.value_total == null ? '—' : entry.value_total.toLocaleString(undefined, { maximumFractionDigits: 0 })} {entry.row_count ?? '—'} + {entry.row_count ?? '—'}
+
@@ -1616,7 +1616,7 @@ function LogCell({ entry, field, placeholder, editing, setEditing, onSave, listI if (active) { return ( -
+
setEditing(c => ({ ...c, text: e.target.value }))} @@ -1635,7 +1635,7 @@ function LogCell({ entry, field, placeholder, editing, setEditing, onSave, listI } return ( -
+ setEditing({ id: entry.id, field, text: value })} className="cursor-text hover:bg-blue-50 rounded px-1 -mx-1 block truncate" title={value || `Click to ${placeholder}`}>