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
parent 6dfd237e1b
commit a35d36b84f
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());
date.setMonth(date.getMonth() + (this.nMonths * direction));
this.date = date;
this.emit('step');
}
get data() {

View File

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