Delete all documents in current directory
Adds a new button to the top right for deleting all documents in a directory.
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
<header>
|
||||
{{breadcrumb-nav currentDirPath=currentDirPath}}
|
||||
<nav class="actions">
|
||||
{{#if currentListingContainsDocuments}}
|
||||
<button class="delete-all" {{action "deleteDocuments"}}>delete all</button>
|
||||
{{/if}}
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
{{#if currentListing}}
|
||||
|
||||
Reference in New Issue
Block a user