1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

[side nav, 'Files' page] use 'department' icons for departments (#6073)

This commit is contained in:
llj
2024-05-13 15:54:50 +08:00
committed by GitHub
parent 78505e6b61
commit a4fa7f899a
3 changed files with 4 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ class MainSideNav extends React.Component {
className={`nav-link ellipsis ${this.getActiveClass(item.name)}`}
onClick={(e) => this.tabItemClick(e, item.name, item.id)}
>
<span className="sf3-font-group sf3-font nav-icon" aria-hidden="true"></span>
<span className={`${item.parent_group_id == 0 ? 'sf3-font-group sf3-font' : 'fas fa-building'} nav-icon`} aria-hidden="true"></span>
<span className="nav-text">{item.name}</span>
</Link>
</li>