- {{ (Number(balance) - Number(decay.decay)) | GDD }}
- {{ decay.decay | GDD }} {{ $t('math.equal') }}
+ {{ (Number(balance) - Number(decay)) | GDD }}
+ {{ decay | GDD }} {{ $t('math.equal') }}
{{ balance | GDD }}
@@ -27,9 +27,11 @@ export default {
props: {
balance: {
type: String,
+ required: true,
},
decay: {
- type: Object,
+ type: String,
+ required: true,
},
},
}
diff --git a/frontend/src/components/DecayInformations/DecayInformation-Short.vue b/frontend/src/components/DecayInformations/DecayInformation-Short.vue
index 333a38216..ba1f16d72 100644
--- a/frontend/src/components/DecayInformations/DecayInformation-Short.vue
+++ b/frontend/src/components/DecayInformations/DecayInformation-Short.vue
@@ -1,6 +1,6 @@