mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 00:52:01 +01:00
remove unused methods
This commit is contained in:
parent
03663c4989
commit
c287fdef1a
1 changed files with 1 additions and 9 deletions
|
@ -232,7 +232,7 @@ export default {
|
||||||
this.$emit('input', { ...this.value, from, due })
|
this.$emit('input', { ...this.value, from, due })
|
||||||
} else {
|
} else {
|
||||||
let from = value
|
let from = value
|
||||||
let due = value
|
let due = null
|
||||||
if (this.value.fromHour) {
|
if (this.value.fromHour) {
|
||||||
from = dayjs(value).hour(dayjs(this.value.from).hour())
|
from = dayjs(value).hour(dayjs(this.value.from).hour())
|
||||||
}
|
}
|
||||||
|
@ -243,14 +243,6 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
changeType (type) {
|
|
||||||
if (type === 'recurrent') {
|
|
||||||
this.updateRecurrent({})
|
|
||||||
}
|
|
||||||
},
|
|
||||||
selectFrequency (f) {
|
|
||||||
this.$emit('input', { recurrent: { frequency: f }, from: this.value.from, due: this.value.due })
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue