Skip to content

Commit df71d44

Browse files
committed
Cleanup commented code
1 parent ad5602c commit df71d44

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/components/MainComponent.vue

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,13 @@ export default defineComponent({
9494
},
9595
created() {
9696
this.tabItems.unshift(this.itemName);
97-
//if (config.scope.type === 'organization') {
98-
// get the last item in the array,which is 'api response'
99-
//and add 'seat analysis' before it
100-
let lastItem = this.tabItems.pop();
101-
this.tabItems.push('seat analysis');
102-
if (lastItem) {
103-
this.tabItems.push(lastItem);
104-
}
105-
//}
97+
// get the last item in the array,which is 'api response'
98+
//and add 'seat analysis' before it
99+
let lastItem = this.tabItems.pop();
100+
this.tabItems.push('seat analysis');
101+
if (lastItem) {
102+
this.tabItems.push(lastItem);
103+
}
106104
},
107105
setup() {
108106
const metricsReady = ref(false);

0 commit comments

Comments
 (0)