mirror of
https://github.com/MrSleeps/jellyfin-scene-search.git
synced 2026-11-18 07:51:27 +00:00
Reload dashboard after API key changes
This commit is contained in:
@@ -428,11 +428,11 @@
|
||||
|
||||
$('saveKey').onclick = () => {
|
||||
localStorage.setItem('sceneSearchApiKey', $('apiKey').value.trim());
|
||||
loadLibraries(); refreshStatus(); refreshCaptionStatus();
|
||||
window.location.reload();
|
||||
};
|
||||
$('clearKey').onclick = () => {
|
||||
localStorage.removeItem('sceneSearchApiKey'); $('apiKey').value = '';
|
||||
loadLibraries(); refreshStatus(); refreshCaptionStatus();
|
||||
localStorage.removeItem('sceneSearchApiKey');
|
||||
window.location.reload();
|
||||
};
|
||||
$('refreshLibraries').onclick = loadLibraries;
|
||||
$('selectAll').onclick = () => document.querySelectorAll('.libraryCheck').forEach(x => x.checked = true);
|
||||
|
||||
Reference in New Issue
Block a user