fix: add full request as request context (#4422)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
This commit is contained in:
@@ -47,7 +47,11 @@ export class RequestSpotlightSearcherService extends StaticSpotlightSearcherServ
|
||||
private readonly restTab = this.bind(RESTTabService)
|
||||
|
||||
private route = useRoute()
|
||||
private isRESTPage = computed(() => this.route.name === "index")
|
||||
private isRESTPage = computed(
|
||||
() =>
|
||||
this.route.name === "index" &&
|
||||
this.restTab.currentActiveTab.value.document.type === "request"
|
||||
)
|
||||
private isGQLPage = computed(() => this.route.name === "graphql")
|
||||
private isRESTOrGQLPage = computed(
|
||||
() => this.isRESTPage.value || this.isGQLPage.value
|
||||
|
||||
Reference in New Issue
Block a user