From 295fbe7bd861a890482017df8e92e02babd715d7 Mon Sep 17 00:00:00 2001 From: witx98 Date: Wed, 27 Nov 2024 12:27:13 +0100 Subject: [PATCH] Subtitle tag fix --- .../java/dev/logchange/hofund/graph/node/HofundNodeMeter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hofund-core/src/main/java/dev/logchange/hofund/graph/node/HofundNodeMeter.java b/hofund-core/src/main/java/dev/logchange/hofund/graph/node/HofundNodeMeter.java index eb85a13..3380f63 100644 --- a/hofund-core/src/main/java/dev/logchange/hofund/graph/node/HofundNodeMeter.java +++ b/hofund-core/src/main/java/dev/logchange/hofund/graph/node/HofundNodeMeter.java @@ -67,7 +67,7 @@ private List tagsForConnection(HofundConnection connection) { tags.add(Tag.of("title", connection.getTarget() + "_" + connection.getType())); String subtitle = Objects.equals(connection.getDescription(), "") ? - connection.getTarget() + connection.getType().toString() : String.format("%s (%s)", connection.getType(), connection.getDescription()); tags.add(Tag.of("subtitle", subtitle));