From 526936d3a35658f4bd4e2913d21fe8cc0fbd1ead Mon Sep 17 00:00:00 2001 From: Sascha Date: Mon, 26 Jun 2023 14:59:40 +0200 Subject: [PATCH] minor things --- Gremlin_BlazorServer/Services/QuoteHandling.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gremlin_BlazorServer/Services/QuoteHandling.cs b/Gremlin_BlazorServer/Services/QuoteHandling.cs index 7dd37e1..189f5f6 100644 --- a/Gremlin_BlazorServer/Services/QuoteHandling.cs +++ b/Gremlin_BlazorServer/Services/QuoteHandling.cs @@ -129,7 +129,7 @@ public class QuoteHandling { private static decimal GetTotal(Quote quote, string type) { decimal total = 0; - if (quote.LineItems is null || quote.LineItems.Count == 0) return total; + if (quote.LineItems.Count == 0) return total; foreach (LineItem lineItem in quote.LineItems) switch (type) {