diff --git a/resources/assets/components/AccountImport.vue b/resources/assets/components/AccountImport.vue index c7df9f1f..b669345d 100644 --- a/resources/assets/components/AccountImport.vue +++ b/resources/assets/components/AccountImport.vue @@ -105,6 +105,9 @@

Tap on posts to include them in your import.

{{ selectedPostsCounter }} posts selected for import

+ + +
@@ -590,6 +593,19 @@ window.location.href = '/site/contact' } }); + }, + + handleSelectAll() { + let medias = this.postMeta.slice(0, 100); + for (var i = medias.length - 1; i >= 0; i--) { + let m = medias[i]; + this.toggleSelectedPost(m); + } + }, + + handleClearAll() { + this.selectedMedia = [] + this.selectedPostsCounter = 0; } } }