diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-10-26 16:54:38 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-11-28 17:29:11 +0100 |
commit | 8829019101e2aba587a32f6c04cb2befc5de0f2b (patch) | |
tree | 0cc5dccc8a674a789dd2ea194d20b311d6a4f463 /apps/files_versions/src | |
parent | 348796892b0cff6dfe38ce4d6761309552cc8c05 (diff) | |
download | nextcloud-server-8829019101e2aba587a32f6c04cb2befc5de0f2b.tar.gz nextcloud-server-8829019101e2aba587a32f6c04cb2befc5de0f2b.zip |
Add support for Material icon in files sidebar
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/files_versions/src')
-rw-r--r-- | apps/files_versions/src/files_versions_tab.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_versions/src/files_versions_tab.js b/apps/files_versions/src/files_versions_tab.js index 0e8f5b29838..d293a68510c 100644 --- a/apps/files_versions/src/files_versions_tab.js +++ b/apps/files_versions/src/files_versions_tab.js @@ -22,6 +22,7 @@ import { translate as t, translatePlural as n } from '@nextcloud/l10n' import VersionTab from './views/VersionTab.vue' import VTooltip from 'v-tooltip' +import BackupRestore from 'vue-material-design-icons/BackupRestore.vue' Vue.prototype.t = t Vue.prototype.n = n @@ -37,7 +38,7 @@ window.addEventListener('DOMContentLoaded', function() { OCA.Files.Sidebar.registerTab(new OCA.Files.Sidebar.Tab({ id: 'version_vue', name: t('files_versions', 'Version'), - icon: 'icon-history', + icon: BackupRestore, async mount(el, fileInfo, context) { if (TabInstance) { |