File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
frontend/express/public/javascripts/countly/vue/components Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 144144 }
145145 } ,
146146 methods : {
147- setTab : function ( name ) {
147+ setTab : function ( name , isDisabled ) {
148+ if ( isDisabled ) {
149+ return ;
150+ }
148151 var tab = this . tabs . filter ( function ( t ) {
149152 return t . name === name ;
150153 } ) ;
197200 :style="{cursor: tab.disabled ? \'not-allowed\' : \'pointer\', opacity: tab.disabled ? 0.5 : 1}"\
198201 v-bind:key="tab.name"\
199202 v-bind:class="[tabClasses, activeClasses(tab.name)]"\
200- v-on:click="setTab(tab.name)"\
203+ v-on:click="setTab(tab.name, tab.disabled )"\
201204 v-if="(!tab.type) || (tab.type === \'mobile\' && !apps[app_id].type) || (apps[app_id].type === tab.type)"\
202205 >\
203206 <slot :name="tab.name" :tab="tab">\
You can’t perform that action at this time.
0 commit comments