Adden selectedOpenCreationAmount to differenciate the used datas.

This commit is contained in:
ogerly 2021-11-29 12:07:33 +01:00 committed by elweyn
parent e744d7c7e0
commit 5523b1a5e9

View File

@ -168,8 +168,8 @@ export default {
default:
throw new Error('Something went wrong')
}
this.selectedOpenCreationAmount = this.creation[this.createdIndex]
this.rangeMax = this.selectedOpenCreationAmount
this.selectedOpenCreationAmount = this.creation
this.rangeMax = this.selectedOpenCreationAmount[this.createdIndex] + this.creationUserData.amount / 10000
}
},
data() {
@ -194,7 +194,7 @@ export default {
submitObj: null,
isdisabled: true,
createdIndex: null,
selectedOpenCreationAmount:{},
selectedOpenCreationAmount: {},
}
},