mirror of
https://github.com/gethomepage/homepage.git
synced 2025-05-23 17:52:35 -04:00
Fix: Longhorn still showing Total despite total: false
(#5200)
This commit is contained in:
parent
0a1bf3b2be
commit
1fe4f49771
@ -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…
x
Reference in New Issue
Block a user