mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 14:58:47 +00:00
Allow show docker stats by default
This commit is contained in:
parent
e4788cc7f6
commit
48224f89a4
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ import ResolvedIcon from "components/resolvedicon";
|
|||
export default function Item({ service }) {
|
||||
const hasLink = service.href && service.href !== "#";
|
||||
const { settings } = useContext(SettingsContext);
|
||||
const [statsOpen, setStatsOpen] = useState(false);
|
||||
const [statsOpen, setStatsOpen] = settings.showStats ? useState(true) : useState(false);
|
||||
const [statsClosing, setStatsClosing] = useState(false);
|
||||
|
||||
// set stats to closed after 300ms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue