feat: changed get time logic to approvers

This commit is contained in:
Тимур Городецкий
2026-08-13 10:01:08 +05:00
parent 2e6e138e8d
commit 8578653c16
55 changed files with 2249 additions and 46 deletions
@@ -57,9 +57,11 @@ const SubmitFeature: React.FC<ISubmitFeatureProps> = ({
// если правки есть и они не сохранены; после согласия флаг снимаем — терять
// уже нечего.
const handleBack = (): void => {
if (!confirmDiscardFormChanges()) return;
markFormClean();
setSelectedRequest(null);
confirmDiscardFormChanges().then((ok) => {
if (!ok) return;
markFormClean();
setSelectedRequest(null);
}).catch(() => undefined);
};
const renderSelected = (request: IRequestType): React.ReactNode => {