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">
|
<div class="row app-wrapper">
|
||||||
<sidebar :route="currentRoute" :class="sidebarClassName"></sidebar>
|
<sidebar :route="currentRoute" :class="sidebarClassName"></sidebar>
|
||||||
<section class="app-content columns" :class="contentClassName">
|
<section class="app-content columns" :class="contentClassName">
|
||||||
<router-view :key="$route.path"></router-view>
|
<router-view></router-view>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -9,9 +9,10 @@
|
|||||||
:back-url="backUrl"
|
:back-url="backUrl"
|
||||||
:show-new-button="showNewButton"
|
:show-new-button="showNewButton"
|
||||||
/>
|
/>
|
||||||
<keep-alive>
|
<keep-alive v-if="keepAlive">
|
||||||
<router-view></router-view>
|
<router-view></router-view>
|
||||||
</keep-alive>
|
</keep-alive>
|
||||||
|
<router-view v-else></router-view>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -27,6 +28,10 @@ export default {
|
|||||||
headerTitle: String,
|
headerTitle: String,
|
||||||
headerButtonText: String,
|
headerButtonText: String,
|
||||||
icon: String,
|
icon: String,
|
||||||
|
keepAlive: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true,
|
||||||
|
},
|
||||||
newButtonRoutes: {
|
newButtonRoutes: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: () => [],
|
default: () => [],
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ export default {
|
|||||||
props: {
|
props: {
|
||||||
headerTitle: 'REPORT.HEADER',
|
headerTitle: 'REPORT.HEADER',
|
||||||
icon: 'ion-arrow-graph-up-right',
|
icon: 'ion-arrow-graph-up-right',
|
||||||
|
keepAlive: false,
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
@@ -34,6 +35,7 @@ export default {
|
|||||||
props: {
|
props: {
|
||||||
headerTitle: 'CSAT_REPORTS.HEADER',
|
headerTitle: 'CSAT_REPORTS.HEADER',
|
||||||
icon: 'ion-happy-outline',
|
icon: 'ion-happy-outline',
|
||||||
|
keepAlive: false,
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
@@ -49,7 +51,8 @@ export default {
|
|||||||
component: SettingsContent,
|
component: SettingsContent,
|
||||||
props: {
|
props: {
|
||||||
headerTitle: 'AGENT_REPORTS.HEADER',
|
headerTitle: 'AGENT_REPORTS.HEADER',
|
||||||
icon: 'ion-people',
|
icon: 'ion-ios-people',
|
||||||
|
keepAlive: false,
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
@@ -66,6 +69,7 @@ export default {
|
|||||||
props: {
|
props: {
|
||||||
headerTitle: 'LABEL_REPORTS.HEADER',
|
headerTitle: 'LABEL_REPORTS.HEADER',
|
||||||
icon: 'ion-pricetags',
|
icon: 'ion-pricetags',
|
||||||
|
keepAlive: false,
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
@@ -82,6 +86,7 @@ export default {
|
|||||||
props: {
|
props: {
|
||||||
headerTitle: 'INBOX_REPORTS.HEADER',
|
headerTitle: 'INBOX_REPORTS.HEADER',
|
||||||
icon: 'ion-archive',
|
icon: 'ion-archive',
|
||||||
|
keepAlive: false,
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user