@@ -132,7 +131,6 @@ export default {
return {
mode: 'create',
loading: false,
- enabled: false,
number: '',
numberError: false,
destinationIndex: null,
@@ -206,15 +204,12 @@ export default {
},
cancel () {
this.number = ''
- this.enabled = false
- this.$emit('close')
+ this.close()
},
add () {
this.number = ''
- this.enabled = true
},
close () {
- this.enabled = false
this.$emit('close')
},
reset () {
diff --git a/src/i18n/en.json b/src/i18n/en.json
index a3d465e1..727f07a0 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -285,9 +285,16 @@
"weekdaysLabel": "If weekdays are ...",
"weekdayLabel": "If weekday is ...",
"weekdaysLabelShort": " weekdays are ",
+ "officeHoursLabelShort": " office hour is | office hours are",
"weekdays":"weekdays",
"weekdayLabelShort": " weekday is ",
+ "officeHoursLabel": "If office hours are ...",
"offlineLabel": "If not available",
+ "officeHoursTitle": "Office hours",
+ "officeHoursAddBtnLabel": "Add time range",
+ "officeHoursInvalidTimerange": "Please select a valid timerange",
+ "daysOfTheWeekShort": "M,T,W,T,F,S,S",
+ "sameOfficeHoursForAllDays": "Same time for all selected days",
"busyLabel": "If busy",
"sourcesetName": "List name",
"mandatoryDestinationLabel": "Please add a destination to the group before adding conditions",