Skip to content

Commit

Permalink
Merge pull request #4375 from owncloud/new-file-icon
Browse files Browse the repository at this point in the history
Add icon to new file menu
  • Loading branch information
Lukas Hirt authored Nov 23, 2020
2 parents 0c0853b + 0313990 commit ef7541c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/src/components/FilesAppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
v-for="(newFileHandler, key) in newFileHandlers"
:key="key"
:class="'new-file-btn-' + newFileHandler.ext"
icon="save"
:icon="newFileHandler.icon || 'save'"
@click="showCreateResourceModal(false, newFileHandler.ext, newFileHandler.action)"
>{{ newFileHandler.menuTitle($gettext) }}</oc-nav-item
>
Expand Down
5 changes: 5 additions & 0 deletions changelog/unreleased/new-file-icon
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Enhancement: Add custom icons in the new file menu

We've added an option to display own icon in the new file menu.

https://github.com/owncloud/phoenix/pull/4375

0 comments on commit ef7541c

Please sign in to comment.