diff --git a/CHANGELOG.md b/CHANGELOG.md index 770681f7..dde5f9f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Actions in users module (ActivateUsers, AddRight, DeactivateUsers, DeleteRight, DeleteUsers) now accept an array of users instead of one user - Leave dropdown menu open after clicking an action - Move current try/catch error handling from view files to module, add it where necessary +- Display checkboxes in status card and fetch statuses only when status card was rendered from Statuses by instance page +- Move statuses by instance state from local state to store state +- Pass user's ID to actions that moderate users when action is called from user's profile page ### Added @@ -32,6 +35,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Show checkmarks when tag is applied - Reports update (also, now it's optimistic) - Remove duplicated success message +- Fix styles for Statuses by instance page ## [1.2.0] - 2019-09-27 diff --git a/src/api/status.js b/src/api/status.js index ab9334e5..676cd9dc 100644 --- a/src/api/status.js +++ b/src/api/status.js @@ -21,7 +21,7 @@ export async function deleteStatus(id, authHost, token) { }) } -export async function fetchStatusesByInstance(instance, authHost, token, pageSize, page = 1) { +export async function fetchStatusesByInstance({ instance, authHost, token, pageSize, page }) { return await request({ baseURL: baseName(authHost), url: `/api/pleroma/admin/instances/${instance}/statuses?page=${page}&page_size=${pageSize}`, diff --git a/src/components/Status/index.vue b/src/components/Status/index.vue index 5ff766b4..99d4df0f 100644 --- a/src/components/Status/index.vue +++ b/src/components/Status/index.vue @@ -5,10 +5,9 @@
{{ $t('userProfile.noStatuses') }}