TT#36025 [Issue] CallForwarding: Timeset creation form gets enabled in both

sections at the same time

Change-Id: I13f10e3c977596bfce194de2f0623b4a9547f0ba
changes/56/20956/1
Tijana Maksimovic 8 years ago
parent c32aa05ab0
commit 56a87603b5

@ -42,7 +42,6 @@
name: 'csc-add-time-form',
props: [
'type',
'title',
'timeset'
],
data () {
@ -172,10 +171,4 @@
.add-times
width 100%
.title
color $primary
line-height $csc-subtitle-line-height
font-size $csc-subtitle-font-size
font-weight $csc-subtitle-font-weight
</style>

@ -4,7 +4,7 @@
<csc-call-forward-time class="csc-call-forward-times" v-if="times.length > 0" v-for="(time, index) in times"
:key="index" :time="time" :index="index" />
</q-list>
<csc-add-time-form v-if="activeTimeForm" type="existing" :title="$t('pages.callForward.times.addCompanyHours')" timeset="Company Hours" ref="addFormExisting" />
<csc-add-time-form v-if="activeTimeForm" type="existing" :timeset="timesetName" ref="addFormExisting" />
<q-btn v-else
color="primary"
class="add-time"

@ -259,6 +259,7 @@ export default {
state.timesetExists = true;
state.timesetHasReverse = false;
state.timesetHasDuplicate = false;
state.activeTimeForm = false;
state.addTimeState = RequestState.button;
}
},

Loading…
Cancel
Save