Skip to content

Commit 584f8ed

Browse files
committed
Simplified seat tab
1 parent 4abcd15 commit 584f8ed

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/components/MainComponent.vue

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,19 +103,12 @@ export default defineComponent({
103103
},
104104
data () {
105105
return {
106-
tabItems: ['languages', 'editors', 'copilot chat', 'api response'],
106+
tabItems: ['languages', 'editors', 'copilot chat', 'seat analysis', 'api response'],
107107
tab: null
108108
}
109109
},
110110
created() {
111111
this.tabItems.unshift(this.itemName);
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-
}
119112
},
120113
setup() {
121114
const metricsReady = ref(false);

0 commit comments

Comments
 (0)