Revert "Remove"

This reverts commit 4f78b23c3e.
This commit is contained in:
daria 2025-11-19 12:19:05 +02:00
parent 9054254af3
commit 64d584dbae
No known key found for this signature in database
GPG Key ID: 3B75240E6B2F2701

View File

@ -4568,6 +4568,9 @@ define([
var $row = $(this);
var elPath = $row.data('path');
if (!elPath || elPath.length === 0) { return; }
var pathToCheck = elPath[0] === 'root' ? elPath : [ROOT].concat(elPath);
var folderColor = getFolderColor(pathToCheck);
$row.find('.cp-app-drive-icon-folder').css("color", folderColor);
var checkRoot = manager.find([ROOT]);
var sfId = null;