fix(js): add ROOT_PATH to window.location navigations
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -112,7 +112,7 @@ function updateSyncPanel(data) {
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
document.getElementById('lastSyncRow')?.addEventListener('click', () => {
|
||||
const targetId = _currentRunId || _lastRunId;
|
||||
if (targetId) window.location = '/logs?run=' + targetId;
|
||||
if (targetId) window.location = (window.ROOT_PATH || '') + '/logs?run=' + targetId;
|
||||
});
|
||||
document.getElementById('lastSyncRow')?.addEventListener('keydown', (e) => {
|
||||
const targetId = _currentRunId || _lastRunId;
|
||||
|
||||
Reference in New Issue
Block a user