about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/utils
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-10-26 13:42:29 +0200
committerClaire <claire.github-309c@sitedethib.com>2022-10-28 19:24:02 +0200
commit2d731dbde6504763229b0bdc0e38fe7eed8c4d35 (patch)
tree781a313b4292f36438755e86cf52d6fc3ac6f6a4 /app/javascript/flavours/glitch/utils
parentd9f182e5f3e14eb5cabac6e2925cebe8b9338dd5 (diff)
[Glitch] Add ability to view previous edits of a status in admin UI
Port f8ca3bb2a1dd648f41e8fea5b5eb87b53bc8d521 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/utils')
-rw-r--r--app/javascript/flavours/glitch/utils/backend_links.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/utils/backend_links.js b/app/javascript/flavours/glitch/utils/backend_links.js
index d0ae63419..2028a1e60 100644
--- a/app/javascript/flavours/glitch/utils/backend_links.js
+++ b/app/javascript/flavours/glitch/utils/backend_links.js
@@ -3,7 +3,7 @@ export const profileLink = '/settings/profile';
 export const signOutLink = '/auth/sign_out';
 export const privacyPolicyLink = '/privacy-policy';
 export const accountAdminLink = (id) => `/admin/accounts/${id}`;
-export const statusAdminLink = (account_id, status_id) => `/admin/accounts/${account_id}/statuses?id=${status_id}`;
+export const statusAdminLink = (account_id, status_id) => `/admin/accounts/${account_id}/statuses/${status_id}`;
 export const filterEditLink = (id) => `/filters/${id}/edit`;
 export const relationshipsLink = '/relationships';
 export const securityLink = '/auth/edit';