mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Fix Icon to Chevron down if Expand all folders is clicked
This commit is contained in:
@@ -164,7 +164,9 @@ function display_folders($parent_folder_id, $client_id, $indent = 0, $render_roo
|
||||
echo ' ' . $folder_name;
|
||||
|
||||
if ($subfolder_count > 0) {
|
||||
echo '<i class="fas fa-chevron-' . ($on_active_path ? 'down' : 'right') . ' text-muted ml-2"></i>';
|
||||
$is_expanded = $folders_expanded || $on_active_path;
|
||||
|
||||
echo '<i class="fas fa-chevron-' . ($is_expanded ? 'down' : 'right') . ' text-muted ml-2"></i>';
|
||||
}
|
||||
|
||||
if ($num_total > 0) {
|
||||
|
||||
Reference in New Issue
Block a user