Fix undefined number presenter (#2787)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2023-03-21 10:47:41 +06:00 committed by GitHub
parent 48d32b1841
commit 889c4a3db3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@
// limitations under the License.
-->
<script lang="ts">
export let value: number
export let value: number | undefined
</script>
<span>{value}</span>
<span>{value ? value : ''}</span>