mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-06 20:28:48 +00:00
Fix: Longhorn still showing Total despite total: false
(#5200)
This commit is contained in:
parent
0a1bf3b2be
commit
1fe4f49771
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ export default function Longhorn({ options }) {
|
|||
<div className="flex flex-row self-center flex-wrap justify-between">
|
||||
{data.nodes
|
||||
.filter((node) => {
|
||||
if (node.id === "total" && total) {
|
||||
return true;
|
||||
if (node.id === "total") {
|
||||
return total;
|
||||
}
|
||||
if (!nodes) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue