mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 11:37:58 +00:00
fix: Update Re-rendering behaviour for lists in conversation view (#3117)
* fix: Update Re-rendering behaviour for lists in conversation view * Remove console.log
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="row app-wrapper">
|
||||
<sidebar :route="currentRoute" :class="sidebarClassName"></sidebar>
|
||||
<section class="app-content columns" :class="contentClassName">
|
||||
<router-view :key="$route.path"></router-view>
|
||||
<router-view></router-view>
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -9,9 +9,10 @@
|
||||
:back-url="backUrl"
|
||||
:show-new-button="showNewButton"
|
||||
/>
|
||||
<keep-alive>
|
||||
<keep-alive v-if="keepAlive">
|
||||
<router-view></router-view>
|
||||
</keep-alive>
|
||||
<router-view v-else></router-view>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -27,6 +28,10 @@ export default {
|
||||
headerTitle: String,
|
||||
headerButtonText: String,
|
||||
icon: String,
|
||||
keepAlive: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
newButtonRoutes: {
|
||||
type: Array,
|
||||
default: () => [],
|
||||
|
||||
@@ -14,6 +14,7 @@ export default {
|
||||
props: {
|
||||
headerTitle: 'REPORT.HEADER',
|
||||
icon: 'ion-arrow-graph-up-right',
|
||||
keepAlive: false,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
@@ -34,6 +35,7 @@ export default {
|
||||
props: {
|
||||
headerTitle: 'CSAT_REPORTS.HEADER',
|
||||
icon: 'ion-happy-outline',
|
||||
keepAlive: false,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
@@ -49,7 +51,8 @@ export default {
|
||||
component: SettingsContent,
|
||||
props: {
|
||||
headerTitle: 'AGENT_REPORTS.HEADER',
|
||||
icon: 'ion-people',
|
||||
icon: 'ion-ios-people',
|
||||
keepAlive: false,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
@@ -66,6 +69,7 @@ export default {
|
||||
props: {
|
||||
headerTitle: 'LABEL_REPORTS.HEADER',
|
||||
icon: 'ion-pricetags',
|
||||
keepAlive: false,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
@@ -82,6 +86,7 @@ export default {
|
||||
props: {
|
||||
headerTitle: 'INBOX_REPORTS.HEADER',
|
||||
icon: 'ion-archive',
|
||||
keepAlive: false,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user