chore: Improve captain layout (#12820)

This commit is contained in:
Sivin Varghese
2025-11-12 18:31:17 +05:30
committed by GitHub
parent 3c9c0298ba
commit fb0be60ae2
6 changed files with 70 additions and 61 deletions

View File

@@ -10,14 +10,14 @@ const assistantId = computed(() => Number(route.params.assistantId));
<template>
<PageLayout
:header-title="$t('CAPTAIN.PLAYGROUND.HEADER')"
show-assistant-switcher
:show-pagination-footer="false"
:show-know-more="false"
class="h-full"
>
<template #body>
<div class="flex flex-col h-full">
<AssistantPlayground :assistant-id="assistantId" />
<AssistantPlayground :assistant-id="assistantId" class="bg-n-solid-1" />
</div>
</template>
</PageLayout>

View File

@@ -104,7 +104,6 @@ const handleDeleteSuccess = () => {
<template>
<PageLayout
:header-title="$t('CAPTAIN.ASSISTANTS.SETTINGS.HEADER')"
:is-fetching="isFetching"
:show-pagination-footer="false"
:show-know-more="false"

View File

@@ -195,7 +195,10 @@ const navigateToPendingFAQs = () => {
onMounted(() => {
initializeFromURL();
store.dispatch('captainResponses/fetchPendingCount', selectedAssistantId);
store.dispatch(
'captainResponses/fetchPendingCount',
selectedAssistantId.value
);
});
</script>