Skip to content

Commit 4068a91

Browse files
authored
Refactor PlaygroundOutput.vue for clarity
Removed unused duration badge
1 parent 869c994 commit 4068a91

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

‎docs/.vitepress/theme/components/PlaygroundOutput.vue‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@
7575
0
7676
</span>
7777
</button>
78-
79-
<span v-if="duration && activeTab === 'console'" class="duration-badge">{{ duration }}ms</span>
8078
</div>
8179

8280
<!-- Header Right Action Tools -->
@@ -297,7 +295,7 @@ const props = withDefaults(defineProps<{
297295
report?: AuditReportDocument | null;
298296
isReportModeActive?: boolean;
299297
reportViewMode?: 'cards' | 'json';
300-
mode?: 'drawer' | 'embedded'; // <-- Added mode
298+
mode?: 'drawer' | 'embedded';
301299
}>(), {
302300
position: 'bottom',
303301
report: null,
@@ -311,7 +309,7 @@ const emit = defineEmits<{
311309
(e: 'clear-report'): void;
312310
(e: 'toggle-position'): void;
313311
(e: 'update:reportViewMode', mode: 'cards' | 'json'): void;
314-
(e: 'close'): void; // <-- Added close emit
312+
(e: 'close'): void;
315313
}>();
316314
317315
const activeTab = ref<'console' | 'report'>('console');
@@ -1332,4 +1330,4 @@ defineExpose({
13321330
font-size: 11px;
13331331
}
13341332
}
1335-
</style>
1333+
</style>

0 commit comments

Comments
 (0)