fix: AURORA-1692 - кнопка 'Назад' при просмотре документов #171

Merged
aep merged 2 commits from AURORA-1692 into main 2026-10-23 15:27:35 +03:00
Showing only changes of commit 1197a94f3c - Show all commits

View File

@ -94,7 +94,7 @@ export function DocumentPage() {
style={{ width: '100%' }}
value={doc.id}
options={documentOptions}
onChange={(value) => navigate(`/documents/${value}`)}
onChange={(value) => navigate(`/documents/${value}`, { replace: true })}
optionRender={(option) => (
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', gap: 10 }}>
{/* у ББ и ОФР из одного PDF имя файла одно — различаются второй строкой (тип · формат · дата) */}