treat null accordingly in arginfo

This commit is contained in:
Ruben Fiszel
2023-04-28 00:52:08 +02:00
parent e21208de31
commit eebf3e472c
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -31,7 +31,9 @@
</DrawerContent>
</Drawer>
{#if value == '<function call>'}
{#if value == undefined || value == null}
<span class="text-gray-600">null</span>
{:else if value == '<function call>'}
{'<function call>'}<Tooltip
>The arg was none and the default argument of the script is a function call, hence the actual
value used for this arg was the output of the script's function call for this arg</Tooltip
@@ -146,10 +146,10 @@
}
.val.undefined {
@apply text-red-500;
@apply text-gray-600;
}
.val.null {
@apply text-red-500;
@apply text-gray-600;
}
.val.string {
@apply text-green-600;