mirror of https://github.com/itflow-org/itflow
Fix Icon to Chevron down if Expand all folders is clicked
This commit is contained in:
parent
d42d2d99b1
commit
704d770ec2
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue