Skip to content

Commit e343042

Browse files
committed
fix: remove unused consultant var
1 parent c479f4e commit e343042

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/components/Phase.vue

-6
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ import MultipleSelect from './MultipleSelect.vue'
6868
export default class Phase extends Vue {
6969
// Props
7070
@Prop() private phase!: PhaseObject
71-
@Prop() private consultants!: string[]
7271
@Prop() private taux!: TauxObject
7372
7473
// Data
@@ -83,14 +82,9 @@ export default class Phase extends Vue {
8382
8483
mode: string = 'price' // 'price' or 'pay' (avoid infinite loop cause by watch and calculations)
8584
86-
consultant: string = '';
87-
8885
// Lifecycle hood
8986
mounted () {
9087
this.calculate()
91-
if (this.consultants.length) {
92-
this.consultant = this.consultants[0]
93-
}
9488
}
9589
9690
// Watchers

0 commit comments

Comments
 (0)