Fixed microtabs issue

This commit is contained in:
thepaperpilot 2021-06-27 16:59:35 -05:00
parent ae036225b1
commit 096e7f928c

View file

@ -34,7 +34,8 @@ export default {
}, },
microtabs() { microtabs() {
return Object.keys(this.tabFamily) return Object.keys(this.tabFamily)
.filter(microtab => microtab !== 'activeMicrotab' && this.tabFamily[microtab].unlocked !== false) .filter(microtab =>
microtab !== 'activeMicrotab' && this.tabFamily[microtab].isProxy && this.tabFamily[microtab].unlocked !== false)
.reduce((acc, curr) => { .reduce((acc, curr) => {
acc[curr] = this.tabFamily[curr]; acc[curr] = this.tabFamily[curr];
return acc; return acc;