forked from Github/frigate
Add logs to new webui (#9118)
* Add logs to new webui * Automatically refresh logs while viewing * Clean up hooks
This commit is contained in:
committed by
Blake Blackshear
parent
9efb6b1caf
commit
9a0dfa723a
@@ -5,6 +5,7 @@ import {
|
||||
LuGithub,
|
||||
LuHardDrive,
|
||||
LuLifeBuoy,
|
||||
LuList,
|
||||
LuMenu,
|
||||
LuMoon,
|
||||
LuMoreVertical,
|
||||
@@ -135,6 +136,12 @@ function Header({ onToggleNavbar }: HeaderProps) {
|
||||
<span>System metrics</span>
|
||||
</DropdownMenuItem>
|
||||
</Link>
|
||||
<Link to="/logs">
|
||||
<DropdownMenuItem>
|
||||
<LuList className="mr-2 h-4 w-4" />
|
||||
<span>System logs</span>
|
||||
</DropdownMenuItem>
|
||||
</Link>
|
||||
</DropdownMenuGroup>
|
||||
<DropdownMenuLabel className="mt-3">
|
||||
Configuration
|
||||
|
||||
Reference in New Issue
Block a user