mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-06 21:57:48 +01:00
Fix: Longhorn still showing Total despite total: false (#5200)
This commit is contained in:
@@ -32,8 +32,8 @@ export default function Longhorn({ options }) {
|
|||||||
<div className="flex flex-row self-center flex-wrap justify-between">
|
<div className="flex flex-row self-center flex-wrap justify-between">
|
||||||
{data.nodes
|
{data.nodes
|
||||||
.filter((node) => {
|
.filter((node) => {
|
||||||
if (node.id === "total" && total) {
|
if (node.id === "total") {
|
||||||
return true;
|
return total;
|
||||||
}
|
}
|
||||||
if (!nodes) {
|
if (!nodes) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user