summaryrefslogtreecommitdiffstats
path: root/apps/comments/js
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-10-18 15:47:18 +0200
committerJulius Härtl <jus@bitgrid.net>2018-10-18 15:54:17 +0200
commit45804b5bef932ba86ff5a28a40f1a7ebcb7c5290 (patch)
treef34ec68f71108a93a43781d72fcb12b1901a5d45 /apps/comments/js
parent302a5d81714c9aca3fa38fad9fe8879fb867c3e8 (diff)
downloadnextcloud-server-45804b5bef932ba86ff5a28a40f1a7ebcb7c5290.tar.gz
nextcloud-server-45804b5bef932ba86ff5a28a40f1a7ebcb7c5290.zip
Add icon to file sidebar tabs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/comments/js')
-rw-r--r--apps/comments/js/commentstabview.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js
index 35e73d3f4a6..8ea4dbc2ff2 100644
--- a/apps/comments/js/commentstabview.js
+++ b/apps/comments/js/commentstabview.js
@@ -89,6 +89,10 @@
return t('comments', 'Comments');
},
+ getIcon: function() {
+ return 'icon-comment';
+ },
+
setFileInfo: function(fileInfo) {
if (fileInfo) {
this.model = fileInfo;