fix: no page rendering issue after navigating from rest page (#2962)

This commit is contained in:
Anwarul Islam
2023-04-04 21:18:32 +06:00
committed by GitHub
parent c3c3fc6720
commit dd72eacd21
2 changed files with 56 additions and 55 deletions

View File

@@ -1185,7 +1185,7 @@ const onRemoveRequest = () => {
})
if (possibleTab) {
possibleTab.value.document.saveContext = undefined
possibleTab.value.document.saveContext = null
possibleTab.value.document.isDirty = true
}
}

View File

@@ -1,4 +1,5 @@
<template>
<div>
<AppPaneLayout layout-id="http">
<template #primary>
<HoppSmartWindows
@@ -30,7 +31,6 @@
{{ tab.document.request.name }}
</span>
</template>
<HttpRequestTab
:model-value="tab"
@update:model-value="onTabUpdate"
@@ -54,6 +54,7 @@
:mode="'rest'"
@hide-modal="onSaveModalClose"
/>
</div>
</template>
<script lang="ts" setup>