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:
Pranav Raj S
2021-09-30 15:11:00 +05:30
committed by GitHub
parent a1563917ba
commit 1083a24a26
3 changed files with 13 additions and 3 deletions

View File

@@ -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>

View File

@@ -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: () => [],

View File

@@ -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: [
{