diff --git a/resources/views/components/hosting-panel-layout.blade.php b/resources/views/components/hosting-panel-layout.blade.php index 978ac9e..9b2a05f 100644 --- a/resources/views/components/hosting-panel-layout.blade.php +++ b/resources/views/components/hosting-panel-layout.blade.php @@ -68,6 +68,8 @@ + @include('partials.confirm-prompt') + @stack('scripts') diff --git a/resources/views/hosting/panel/files.blade.php b/resources/views/hosting/panel/files.blade.php index 9d873b6..c9c482b 100644 --- a/resources/views/hosting/panel/files.blade.php +++ b/resources/views/hosting/panel/files.blade.php @@ -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();