diff options
author | Louis Chemineau <louis@chmn.me> | 2022-11-09 13:10:42 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-11-28 17:31:27 +0100 |
commit | a28838b8667645fda47df8a0d3911614fd601c35 (patch) | |
tree | 4675830672b661c380800d1a97b72d0e8ba8bb8d /apps/comments | |
parent | 8829019101e2aba587a32f6c04cb2befc5de0f2b (diff) | |
download | nextcloud-server-a28838b8667645fda47df8a0d3911614fd601c35.tar.gz nextcloud-server-a28838b8667645fda47df8a0d3911614fd601c35.zip |
Use svg icons
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/comments')
-rw-r--r-- | apps/comments/src/comments-tab.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/comments/src/comments-tab.js b/apps/comments/src/comments-tab.js index 7b12de6de4f..ef17ce984a4 100644 --- a/apps/comments/src/comments-tab.js +++ b/apps/comments/src/comments-tab.js @@ -20,14 +20,14 @@ * */ -import MessageReplyText from 'vue-material-design-icons/MessageReplyText.vue' +import MessageReplyText from '@mdi/svg/svg/message-reply-text.svg?raw' // Init Comments tab component let TabInstance = null const commentTab = new OCA.Files.Sidebar.Tab({ id: 'comments', name: t('comments', 'Comments'), - icon: 'icon-comment', + iconSvg: MessageReplyText, async mount(el, fileInfo, context) { if (TabInstance) { @@ -53,7 +53,7 @@ const commentTab = new OCA.Files.Sidebar.Tab({ }, }) -window.addEventListener('DOMContentLoaded', function() { +window.addEventListener('DOMContentLoaded', function () { if (OCA.Files && OCA.Files.Sidebar) { OCA.Files.Sidebar.registerTab(commentTab) } |