mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-12 13:34:24 +02:00
Add:Cron expression builder advanced view
This commit is contained in:
@@ -46,12 +46,12 @@ export default {
|
||||
id: 'settings',
|
||||
title: 'Settings',
|
||||
component: 'modals-libraries-library-settings'
|
||||
},
|
||||
{
|
||||
id: 'schedule',
|
||||
title: 'Schedule',
|
||||
component: 'modals-libraries-schedule-scan'
|
||||
}
|
||||
// {
|
||||
// id: 'schedule',
|
||||
// title: 'Schedule',
|
||||
// component: 'modals-libraries-schedule-scan'
|
||||
// }
|
||||
],
|
||||
libraryCopy: null
|
||||
}
|
||||
|
||||
@@ -27,6 +27,10 @@ export default {
|
||||
methods: {
|
||||
toggleEnableAutoScan(v) {
|
||||
if (!v) this.updatedCron(null)
|
||||
else if (!this.cronExpression) {
|
||||
this.cronExpression = '0 0 * * 1'
|
||||
this.updatedCron(this.cronExpression)
|
||||
}
|
||||
},
|
||||
updatedCron(expression) {
|
||||
this.$emit('update', {
|
||||
|
||||
Reference in New Issue
Block a user