This commit is contained in:
wh1te909
2021-01-18 11:00:50 +00:00
parent e3f31c1311
commit e25cb4a782

View File

@@ -764,9 +764,16 @@ export default {
clientsTree: state => state.tree,
treeReady: state => state.treeReady,
clients: state => state.clients,
tab: state => state.defaultAgentTblTab,
}),
...mapGetters(["selectedAgentPk", "needRefresh"]),
tab: {
get: function () {
return this.$store.state.defaultAgentTblTab;
},
set: function (newVal) {
this.$store.commit("SET_DEFAULT_AGENT_TBL_TABd", newVal);
},
},
allClientsActive() {
return this.selectedTree === "" ? true : false;
},