fix: check type variable
gitea/salix-front/pipeline/pr-master There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-master There was a failure building this commit
Details
This commit is contained in:
parent
6954cd599a
commit
ab5ae580b3
|
@ -48,7 +48,11 @@ defineExpose({ save });
|
|||
<template>
|
||||
<QPopupProxy ref="QPopupProxyRef" data-cy="ticketEditManaProxy">
|
||||
<div class="container">
|
||||
<QSpinner v-if="!mana" color="primary" size="md" />
|
||||
<QSpinner
|
||||
v-if="!(typeof mana === 'number' && mana >= 0)"
|
||||
color="primary"
|
||||
size="md"
|
||||
/>
|
||||
<div v-else>
|
||||
<div class="header">Mana: {{ toCurrency(mana) }}</div>
|
||||
<div class="q-pa-md">
|
||||
|
|
Loading…
Reference in New Issue