Load KefinTweaks scripts which don't require login/admin before users login

This commit is contained in:
HighImKevin committed 2026-02-09 00:11:21 -05:00
1 parent 7bd28d8380
commit 5c1cbd9c4e
5 files changed
+112 -43

No files matched your search

+6 -1
View File
@@ -348,6 +348,11 @@
*/
async function verifyRecentlyAddedInLibraryConfig(config) {
try {
if (!window.ApiClient || !window.ApiClient._loggedIn) {
WARN('User not logged in, skipping recently-added verification');
return config;
}
if (!window.dataHelper || !window.dataHelper.getLibraries) {
WARN('dataHelper.getLibraries not available, skipping recently-added verification');
return config;
@@ -2179,7 +2184,7 @@
<div style="display: grid; gap: 0.75em;">
<!-- Parent Item Dropdown -->
${buildSelect(`query-${queryIndex}-parentItemType`, [
{ value: '', label: 'Select a Parent...' },
{ value: '', label: 'Select a Parent... (optional)' },
{ value: 'Collection', label: 'Collection' },
{ value: 'Playlist', label: 'Playlist' },
{ value: 'Generic Parent', label: 'Generic Parent' }