fix: hide pagination when pricelists loading fails\n\n- Added pagination hiding when pricelists load error occurs\n- Prevents display of empty pagination controls when there's an error\n- Maintains consistent UI behavior

This commit is contained in:
Mikhail Chusavitin
2026-02-02 14:15:23 +03:00
parent 9495f929aa
commit 61646bea46

View File

@@ -934,6 +934,8 @@ async function loadPricelists(page = 1) {
</td>
</tr>
`;
// Hide pagination when there's an error
document.getElementById('pricelists-pagination').innerHTML = '';
}
}