auto-git:
[change] renderer.js
This commit is contained in:
@@ -526,7 +526,9 @@ folders.forEach(folderObj => {
|
|||||||
|
|
||||||
window.electronAPI.onFoldersLocationUpdated(folderObj => {
|
window.electronAPI.onFoldersLocationUpdated(folderObj => {
|
||||||
const selector = `[data-folder-id="${encodeURIComponent(folderObj.path)}"]`;
|
const selector = `[data-folder-id="${encodeURIComponent(folderObj.path)}"]`;
|
||||||
|
console.log('Selector:', selector);
|
||||||
const li = document.querySelector(selector);
|
const li = document.querySelector(selector);
|
||||||
|
console.log('Gefundenes li:', li);
|
||||||
if (li) {
|
if (li) {
|
||||||
if (folderObj.needsRelocation) {
|
if (folderObj.needsRelocation) {
|
||||||
li.classList.add('needs-relocation');
|
li.classList.add('needs-relocation');
|
||||||
|
|||||||
Reference in New Issue
Block a user