[#7694] don't reset the records list pagination on record update

This commit is contained in:
Gani Georgiev committed 2026-05-18 19:26:17 +03:00
1 parent b9b0e5ae80
commit d0b2551e78
9 files changed
+73 -17

No files matched your search

+3 -3
View File
@@ -51,16 +51,16 @@ window.app.components.refreshButton = function(propsArg = {}) {
props.onclick(e);
}
btn.classList.add("rotate");
btn.dataset.rotate = true;
btn.addEventListener("animationend", () => {
btn.classList.remove("rotate");
btn.dataset.rotate = false;
});
// fallback
clearTimeout(refreshTimeoutId);
refreshTimeoutId = setTimeout(() => {
clearTimeout(refreshTimeoutId);
btn.classList.remove("rotate");
btn.dataset.rotate = false;
}, 500);
},
},