diff options
author | Marco Ambrosini <marcoambrosini@pm.me> | 2019-12-16 14:30:48 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-12-20 15:27:43 +0100 |
commit | e4ac56e7eaf387b6239c05f26259065b2ae96b28 (patch) | |
tree | f43540ca8c538b3901a580d8d46989adac67c933 /src/views | |
parent | 200ff80570be88aa857b499f3f1a02ff99437cb8 (diff) |
Add method to get the token for the conversation of a file
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/FilesSidebarTab.vue | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/views/FilesSidebarTab.vue b/src/views/FilesSidebarTab.vue index 55b901836..dfd3354d6 100644 --- a/src/views/FilesSidebarTab.vue +++ b/src/views/FilesSidebarTab.vue @@ -79,13 +79,12 @@ export default { }, mounted() { try { + OCA.Talk.fileInfo = this.fileInfo this.tab = OCA.Talk.newTab() this.tab.$mount('#talk-tab-mount') - OCA.Talk.fileInfo = this.fileInfo } catch (error) { console.error('Unable to mount Chat tab', error) } - console.info(this.fileInfo) }, beforeDestroy() { try { |