From 38c3c085332b0a2a3ff0bfc60d8c5e9dd932f544 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Fri, 22 May 2020 21:47:18 +0300 Subject: [PATCH] Fetch single status after its scope was updated --- src/store/modules/status.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/store/modules/status.js b/src/store/modules/status.js index e0eccb62..af29f389 100644 --- a/src/store/modules/status.js +++ b/src/store/modules/status.js @@ -64,6 +64,8 @@ const status = { dispatch('FetchUserStatuses', { userId, godmode }) } else if (fetchStatusesByInstance) { // called from Statuses by Instance dispatch('FetchStatusesByInstance') + } else { // called from Status show page + dispatch('FetchStatus', statusId) } }, async DeleteStatus({ dispatch, getters }, { statusId, reportCurrentPage, userId, godmode, fetchStatusesByInstance }) {