Skip to content

Commit 4abcd15

Browse files
committed
Cleanup commented code
1 parent 2f35f26 commit 4abcd15

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
@@ -109,15 +109,13 @@ export default defineComponent({
109109
},
110110
created() {
111111
this.tabItems.unshift(this.itemName);
112-
//if (config.scope.type === 'organization') {
113-
// get the last item in the array,which is 'api response'
114-
//and add 'seat analysis' before it
115-
let lastItem = this.tabItems.pop();
116-
this.tabItems.push('seat analysis');
117-
if (lastItem) {
118-
this.tabItems.push(lastItem);
119-
}
120-
//}
112+
// get the last item in the array,which is 'api response'
113+
//and add 'seat analysis' before it
114+
let lastItem = this.tabItems.pop();
115+
this.tabItems.push('seat analysis');
116+
if (lastItem) {
117+
this.tabItems.push(lastItem);
118+
}
121119
},
122120
setup() {
123121
const metricsReady = ref(false);

0 commit comments

Comments
 (0)