From 0d72e0d608a9d6026603a161d595457621e3be51 Mon Sep 17 00:00:00 2001 From: midblep Date: Wed, 25 May 2022 00:20:20 +0200 Subject: [PATCH] funny messages --- src/lib/calculator/Calculator.svelte | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/lib/calculator/Calculator.svelte b/src/lib/calculator/Calculator.svelte index 22eb808..329b30a 100644 --- a/src/lib/calculator/Calculator.svelte +++ b/src/lib/calculator/Calculator.svelte @@ -214,6 +214,23 @@ {/if} + {#if commissions.length == 0} +
+
+

It's alone here :'(

+

You currently have no commissions selected. Add one -->

+
+ +
+ {/if} + + {#if commissions.length > 10} +
+

Calm down Elon Musk! + Your list is becoming quite long. Loading and saving long lists is not supported and may cause considerable lag or result in loss of data.

+
+ {/if} + {#each [...commissions].reverse() as commission}