32
32
</div >
33
33
<app-community-help-center-tabs />
34
34
<app-community-help-center-filter />
35
- <app-community-help-center-table />
35
+ <app-community-help-center-table
36
+ @open-conversation-drawer =" onConversationDrawerOpen"
37
+ />
38
+
39
+ <app-community-help-center-conversation-drawer
40
+ :expanded =" !!drawerConversationId"
41
+ :conversation-id =" drawerConversationId"
42
+ @close =" onConversationDrawerClose"
43
+ ></app-community-help-center-conversation-drawer >
36
44
</app-page-wrapper >
37
45
</template >
38
46
@@ -43,6 +51,7 @@ import AppCommunityHelpCenterTable from '@/premium/community-help-center/compone
43
51
import AppCommunityHelpCenterTabs from ' @/premium/community-help-center/components/community-help-center-tabs'
44
52
import AppCommunityHelpCenterFilter from ' @/premium/community-help-center/components/community-help-center-filter'
45
53
import AppCommunityHelpCenterSettings from ' @/premium/community-help-center/components/community-help-center-settings'
54
+ import AppCommunityHelpCenterConversationDrawer from ' @/premium/community-help-center/components/community-help-center-conversation-drawer'
46
55
import config from ' @/config'
47
56
48
57
export default {
@@ -53,7 +62,14 @@ export default {
53
62
AppCommunityHelpCenterTable,
54
63
AppCommunityHelpCenterTabs,
55
64
AppCommunityHelpCenterFilter,
56
- AppCommunityHelpCenterSettings
65
+ AppCommunityHelpCenterSettings,
66
+ AppCommunityHelpCenterConversationDrawer
67
+ },
68
+
69
+ data () {
70
+ return {
71
+ drawerConversationId: null
72
+ }
57
73
},
58
74
59
75
computed: {
@@ -78,7 +94,13 @@ export default {
78
94
' communityHelpCenter/doOpenSettingsDrawer' ,
79
95
doCloseSettingsDrawer:
80
96
' communityHelpCenter/doCloseSettingsDrawer'
81
- })
97
+ }),
98
+ onConversationDrawerOpen (id ) {
99
+ this .drawerConversationId = id
100
+ },
101
+ onConversationDrawerClose () {
102
+ this .drawerConversationId = null
103
+ }
82
104
}
83
105
}
84
106
</script >
0 commit comments