summaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-10-19 16:53:56 +0200
committerGitHub <noreply@github.com>2018-10-19 16:53:56 +0200
commit97717ae3a72d160cdbb9658f577db8f3d8f22f81 (patch)
tree06e32c3df997af8d0ed43b7810c17c064adb9cc0 /apps/comments
parent851f52588999421f7a1119451ddcf90637eb82b4 (diff)
parent45804b5bef932ba86ff5a28a40f1a7ebcb7c5290 (diff)
downloadnextcloud-server-97717ae3a72d160cdbb9658f577db8f3d8f22f81.tar.gz
nextcloud-server-97717ae3a72d160cdbb9658f577db8f3d8f22f81.zip
Merge pull request #11905 from nextcloud/design/noid/tab-icons
Add icon to file sidebar tabs
Diffstat (limited to 'apps/comments')
-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;