mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-24 22:39:02 -06:00
Auto-step after transform
[ci skip]
This commit is contained in:
@@ -284,7 +284,12 @@
|
||||
logEl.textContent += `\n${line}`;
|
||||
logEl.scrollTop = logEl.scrollHeight;
|
||||
};
|
||||
evt.onmessage = (e) => append(e.data);
|
||||
evt.onmessage = (e) => {
|
||||
append(e.data);
|
||||
if (e.data.startsWith('Transform finished')) {
|
||||
setTimeout(() => window.location.reload(), 500);
|
||||
}
|
||||
};
|
||||
evt.onerror = () => {
|
||||
append('[connection closed]');
|
||||
evt.close();
|
||||
|
||||
Reference in New Issue
Block a user