TT#81174 CF: Can see the title "If online and call from nameOfTheSourceList" after saving the new source list initially
Change-Id: If5bf1d1fb24a05dfea3a02a47a6e664ae4500c71changes/60/40160/3
parent
0d7427f907
commit
7cf5a51dad
@ -0,0 +1,66 @@
|
|||||||
|
<template>
|
||||||
|
<div
|
||||||
|
v-if="enabled"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="csc-cf-dest-type"
|
||||||
|
@click="addFromCondition()"
|
||||||
|
>
|
||||||
|
{{ $t('pages.newCallForward.fromLabel') }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import {
|
||||||
|
mapGetters,
|
||||||
|
} from 'vuex'
|
||||||
|
import CscSpinner from '../../CscSpinner'
|
||||||
|
import { } from 'quasar-framework'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'csc-new-call-forward-condition-type-select',
|
||||||
|
components: {
|
||||||
|
CscSpinner
|
||||||
|
},
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
enabled: true,
|
||||||
|
action: null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
...mapGetters('newCallForward', [
|
||||||
|
])
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
async addFromCondition(){
|
||||||
|
this.action = "addFromCondition";
|
||||||
|
this.$parent.close()
|
||||||
|
},
|
||||||
|
|
||||||
|
cancel() {
|
||||||
|
this.action = null;
|
||||||
|
this.enabled = false;
|
||||||
|
},
|
||||||
|
add() {
|
||||||
|
this.enabled = true;
|
||||||
|
},
|
||||||
|
close() {
|
||||||
|
this.action = null;
|
||||||
|
this.enabled = false;
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="stylus" rel="stylesheet/stylus">
|
||||||
|
@import '../../../themes/app.common.styl'
|
||||||
|
.csc-cf-dest-type
|
||||||
|
min-width 100px
|
||||||
|
padding 10px
|
||||||
|
cursor pointer
|
||||||
|
.csc-cf-dest-type:hover
|
||||||
|
background $main-menu-item-hover-background
|
||||||
|
</style>
|
Loading…
Reference in new issue