diff --git a/ghost/admin/app/components/posts-list/context-menu.js b/ghost/admin/app/components/posts-list/context-menu.js index 34c4e54f79..158caa3e58 100644 --- a/ghost/admin/app/components/posts-list/context-menu.js +++ b/ghost/admin/app/components/posts-list/context-menu.js @@ -27,8 +27,7 @@ export default class PostsContextMenu extends Component { async deletePosts() { this.menu.close(); await this.modals.open(DeletePostsModal, { - isSingle: this.selectionList.isSingle, - count: this.selectionList.count, + selectionList: this.selectionList, confirm: this.deletePostsTask }); } @@ -37,8 +36,7 @@ export default class PostsContextMenu extends Component { async unpublishPosts() { this.menu.close(); await this.modals.open(UnpublishPostsModal, { - isSingle: this.selectionList.isSingle, - count: this.selectionList.count, + selectionList: this.selectionList, confirm: this.unpublishPostsTask }); } @@ -47,8 +45,7 @@ export default class PostsContextMenu extends Component { async editPostsAccess() { this.menu.close(); await this.modals.open(EditPostsAccessModal, { - isSingle: this.selectionList.isSingle, - count: this.selectionList.count, + selectionList: this.selectionList, confirm: this.editPostsAccessTask }); } diff --git a/ghost/admin/app/components/posts-list/modals/delete-posts.hbs b/ghost/admin/app/components/posts-list/modals/delete-posts.hbs index 8a38224ae3..089ed0154a 100644 --- a/ghost/admin/app/components/posts-list/modals/delete-posts.hbs +++ b/ghost/admin/app/components/posts-list/modals/delete-posts.hbs @@ -1,13 +1,13 @@