Skip to content

Commit 10980ff

Browse files
committed
remove unneeded fallback for unnamed obs
1 parent 4fa2827 commit 10980ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/class-solid/src/lib/profiles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export function getThermodynamicProfiles(
185185

186186
export function observationsForProfile(obs: Observation, variable = "theta") {
187187
return {
188-
label: obs.name || "Unnamed observations",
188+
label: obs.name,
189189
color: "red",
190190
linestyle: "3,10",
191191
data: obs.height.map((h, i) => {
@@ -212,7 +212,7 @@ export function observationsForSounding(obs: Observation) {
212212
const Td = dewpoint(q, p);
213213
return { p, T, Td };
214214
}),
215-
label: obs.name || "Unnamed observations",
215+
label: obs.name,
216216
color: "red",
217217
linestyle: "3,10",
218218
};

0 commit comments

Comments
 (0)