Merge branch 'front-projects' of https://git.aepif.ru/RSHB/DFiP_Budget_planing into front-projects

This commit is contained in:
PotapovaA 2026-07-03 13:27:51 +03:00
commit bc4e5122c6
2 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,6 @@ const EditCell = ({ refCell, onChange, disabled, value, tableId, cellId, table }
if (isFormula(curValue)) {
// Сохраняем формулу в localStorage
saveToStorage(storageKey, curValue);
// Вычисляем и сохраняем результат
try {
const formula = extractFormula(curValue);

View File

@ -176,6 +176,7 @@ const RealtimeTable = ({ formType, formId, sheetName, direction, year }) => {
measureElement: (el) => el?.offsetHeight || TABLE_ROW_HEIGHT,
},
onEditingCellChange: (cell) => {
console.log(cell, editingCell);
if (cell) {
if (editingCell) return;
contextStartEditing?.(cell.row, cell.column);