fix: AURORA-1692 - кнопка 'Назад' при просмотре документов
This commit is contained in:
parent
22facb3ddf
commit
1197a94f3c
@ -94,7 +94,7 @@ export function DocumentPage() {
|
|||||||
style={{ width: '100%' }}
|
style={{ width: '100%' }}
|
||||||
value={doc.id}
|
value={doc.id}
|
||||||
options={documentOptions}
|
options={documentOptions}
|
||||||
onChange={(value) => navigate(`/documents/${value}`)}
|
onChange={(value) => navigate(`/documents/${value}`, { replace: true })}
|
||||||
optionRender={(option) => (
|
optionRender={(option) => (
|
||||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', gap: 10 }}>
|
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', gap: 10 }}>
|
||||||
{/* у ББ и ОФР из одного PDF имя файла одно — различаются второй строкой (тип · формат · дата) */}
|
{/* у ББ и ОФР из одного PDF имя файла одно — различаются второй строкой (тип · формат · дата) */}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user