Fixed problems with REST Mock

This commit is contained in:
2023-06-22 13:54:09 +02:00
parent 84389be203
commit 8a7160bfd7
8 changed files with 22 additions and 17 deletions

View File

@@ -33,7 +33,7 @@ function showHeaders(headers: object, index: number){
<template>
<div class="w-full xl:w-5/12 flex flex-col gap-y-4">
<HistoryRecords @click:show-headers="showHeaders" @click:show-body="showBody"></HistoryRecords>
<HistoryRecords class="h-1/3 overflow-y-scroll" @click:show-headers="showHeaders" @click:show-body="showBody"></HistoryRecords>
<BodyDetailComponent :data="currentShownData" v-if="shownDetail == 'body' "></BodyDetailComponent>
<HeadersDetailComponent :data="currentShownData" v-if="shownDetail == 'headers' "></HeadersDetailComponent>
</div>