mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
add today button again
This commit is contained in:
parent
ce78177ab7
commit
f8a9cafacb
@ -231,9 +231,17 @@ export default {
|
||||
this.fetchData();
|
||||
}
|
||||
},
|
||||
today: {
|
||||
text: this.$t('today'),
|
||||
click: () => {
|
||||
let calendarApi = this.$refs.fullCalendar.getApi();
|
||||
calendarApi.changeView('timeGridDay', new Date());
|
||||
this.fetchData();
|
||||
}
|
||||
},
|
||||
},
|
||||
headerToolbar: {
|
||||
left: 'prev next',
|
||||
left: 'prev next today',
|
||||
center: 'title',
|
||||
right: 'month,week,day'
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user