mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-10 16:27:26 +02:00
[#7694] don't reset the records list pagination on record update
This commit is contained in:
1 parent
b9b0e5ae80
commit
d0b2551e78
9 files changed
+73
-17
No files matched your search
@@ -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);
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user