mirror of
https://github.com/Luzifer/ots.git
synced 2025-04-19 06:55:51 -04:00
clean code: merge option.text into option definition
This commit is contained in:
parent
3ba9a955b6
commit
bbf5b70b77
@ -171,8 +171,10 @@ export default {
|
||||
continue
|
||||
}
|
||||
|
||||
const option = { value: choice }
|
||||
option.text = this.getExpiryLabel(choice)
|
||||
const option = {
|
||||
value: choice,
|
||||
text: this.getExpiryLabel(choice)
|
||||
}
|
||||
|
||||
choices.push(option)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user