address some issues with recurrent events, fix #247
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template lang="pug">
|
||||
v-col(cols=12)
|
||||
.text-center
|
||||
v-btn-toggle.v-col-6.flex-column.flex-sm-row(v-model='type' color='primary' @change='type => change("type", type)')
|
||||
v-btn-toggle.v-col-6.flex-column.flex-sm-row(v-if='!event.parentId' v-model='type' color='primary' @change='type => change("type", type)')
|
||||
v-btn(value='normal' label="normal") {{ $t('event.normal') }}
|
||||
v-btn(v-if='settings.allow_multidate_event' value='multidate' label='multidate') {{ $t('event.multidate') }}
|
||||
v-btn(v-if='settings.allow_recurrent_event' value='recurrent' label="recurrent") {{ $t('event.recurrent') }}
|
||||
|
||||
@@ -11,7 +11,7 @@ span
|
||||
v-icon(v-if='event.is_visible' v-text='mdiEyeOff')
|
||||
v-icon(v-else='event.is_visible' v-text='mdiEye')
|
||||
v-list-item-content
|
||||
v-list-item-title(v-text="$t(`common.${event.is_visible?'hide':'confirm'}`)")
|
||||
v-list-item-title(v-text="$t(`common.${event.is_visible?(event.parentId?'skip':'hide'):'confirm'}`)")
|
||||
|
||||
//- Edit event
|
||||
v-list-item(:to='`/add/${event.id}`')
|
||||
@@ -21,7 +21,7 @@ span
|
||||
v-list-item-title(v-text="$t('common.edit')")
|
||||
|
||||
//- Remove
|
||||
v-list-item(@click='remove(false)')
|
||||
v-list-item(v-if='!event.parentId' @click='remove(false)')
|
||||
v-list-item-icon
|
||||
v-icon(v-text='mdiDelete')
|
||||
v-list-item-content
|
||||
|
||||
Reference in New Issue
Block a user