Fix file manager select-all and delete actions.
Deploy Ladill Hosting / deploy (push) Successful in 27s
Deploy Ladill Hosting / deploy (push) Successful in 27s
Correct a JavaScript syntax error that prevented the file manager Alpine component from loading, and include the confirm modal in the hosting panel layout so delete prompts render. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -68,6 +68,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('partials.confirm-prompt')
|
||||
|
||||
@stack('scripts')
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -418,7 +418,7 @@
|
||||
this.selected = event.target.checked ? [...this.allPaths] : [];
|
||||
},
|
||||
|
||||
async async async bulkAction(action) {
|
||||
async bulkAction(action) {
|
||||
if (action === 'delete') {
|
||||
if (!await this.$store.ladillConfirm.ask({ title: 'Delete items?', message: 'Delete ' + this.selected.length + ' item(s)? This cannot be undone.' })) return;
|
||||
this.submitBulkDelete();
|
||||
|
||||
Reference in New Issue
Block a user