fix(zone): calendar event
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2021-11-17 13:15:59 +01:00 committed by joan
parent 5672bfec7a
commit 40656da725
2 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,8 @@ class Controller extends Component {
let date = new Date(this.date.getTime()); let date = new Date(this.date.getTime());
date.setMonth(date.getMonth() + (this.nMonths * direction)); date.setMonth(date.getMonth() + (this.nMonths * direction));
this.date = date; this.date = date;
this.emit('step');
} }
get data() { get data() {

View File

@ -3,6 +3,7 @@
vn-id="calendar" vn-id="calendar"
data="data" data="data"
on-selection="$ctrl.onSelection($days, $type, $weekday, $events, $exclusions)" on-selection="$ctrl.onSelection($days, $type, $weekday, $events, $exclusions)"
on-step="$ctrl.refresh()"
class="vn-w-md"> class="vn-w-md">
</vn-zone-calendar> </vn-zone-calendar>
<vn-side-menu side="right"> <vn-side-menu side="right">