Skip to content

Commit

Permalink
fix: remove unused repeatType from oncall list
Browse files Browse the repository at this point in the history
  • Loading branch information
sbgap committed Nov 11, 2024
1 parent 5216c35 commit 30e9d01
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions src/components/OnCallList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -186,16 +186,7 @@
</v-menu>
</v-flex>

<v-flex xs12>
<v-select
v-model="editedItem.repeatType"
:items="repeatTypes"
:label="$t('RepeatType')"
clearable
/>
</v-flex>
<v-flex
v-if="editedItem.repeatType === 'list'"
xs12
>
<v-select
Expand Down Expand Up @@ -357,7 +348,6 @@
<td class="text-xs-left">
{{ props.item.endTime }}
</td>
<td>{{ props.item.repeatType }}</td>
<td>
<v-chip
v-for="day in props.item.repeatDays"
Expand Down Expand Up @@ -484,7 +474,6 @@ export default {
'Nov',
'Dec'
],
repeatTypes: ['list'],
search: '',
dialog: false,
sDateMenu: false,
Expand Down Expand Up @@ -516,10 +505,6 @@ export default {
text: i18n.t('End Time'),
value: 'endTime'
},
{
text: i18n.t('repeatType'),
value: 'repeatType'
},
{
text: i18n.t('repeatDays'),
value: 'repeatDays'
Expand Down Expand Up @@ -548,7 +533,7 @@ export default {
startTime: null,
endTime: null,
fullDay: false,
repeatType: null,
repeatType: 'list',
repeatDays: [],
repeatWeeks: [],
repeatMonths: []
Expand All @@ -564,7 +549,7 @@ export default {
startTime: null,
endTime: null,
fullDay: false,
repeatType: null,
repeatType: 'list',
repeatDays: [],
repeatWeeks: [],
repeatMonths: []
Expand Down Expand Up @@ -736,7 +721,7 @@ export default {
startTime: this.fix_time(this.editedItem.startTime, true),
endTime: this.fix_time(this.editedItem.endTime, true),
fullDay: this.editedItem.fullDay,
repeatType: this.editedItem.repeatType,
repeatType: 'list',
repeatDays: this.editedItem.repeatDays,
repeatWeeks: this.editedItem.repeatWeeks,
repeatMonths: this.editedItem.repeatMonths
Expand Down

0 comments on commit 30e9d01

Please sign in to comment.