auto-git:
[change] renderer.js
This commit is contained in:
@@ -80,6 +80,9 @@ folders.forEach(folderObj => {
|
|||||||
const folder = folderObj.path;
|
const folder = folderObj.path;
|
||||||
const isMonitoring = folderObj.monitoring;
|
const isMonitoring = folderObj.monitoring;
|
||||||
const li = document.createElement('li');
|
const li = document.createElement('li');
|
||||||
|
if (folderObj.needsRelocation) {
|
||||||
|
li.classList.add('needs-relocation');
|
||||||
|
}
|
||||||
li.setAttribute('data-folder-id', encodeURIComponent(folder));
|
li.setAttribute('data-folder-id', encodeURIComponent(folder));
|
||||||
li.className = [
|
li.className = [
|
||||||
'flex items-center justify-between px-3 py-2 rounded cursor-pointer',
|
'flex items-center justify-between px-3 py-2 rounded cursor-pointer',
|
||||||
|
|||||||
Reference in New Issue
Block a user