kelvinsuen 2 месяцев назад
Родитель
Сommit
1023e44263
1 измененных файлов: 3 добавлений и 1 удалений
  1. +3
    -1
      src/components/DashboardPage/escalation/EscalationLogTable.tsx

+ 3
- 1
src/components/DashboardPage/escalation/EscalationLogTable.tsx Просмотреть файл

@@ -65,7 +65,9 @@ const EscalationLogTable: React.FC<Props> = ({
);

const onRowClick = useCallback((item: EscalationResult) => {
router.push(`/po/edit?id=${item.poId}&selectedIds=${item.poId}&polId=${item.polId}&stockInLineId=${item.stockInLineId}`);
if (type == "dashboard") {
router.push(`/po/edit?id=${item.poId}&selectedIds=${item.poId}&polId=${item.polId}&stockInLineId=${item.stockInLineId}`);
}
}, [router])

// const handleKeyDown = useCallback(


Загрузка…
Отмена
Сохранить