diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 1a697da..ad2cef3 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -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; },