FEATURE - group modetators visual indicator (#10310)

This commit is contained in:
jbrw
2020-07-28 17:15:04 -04:00
committed by GitHub
parent 01a3fa1ca8
commit 74ab4f3bff
11 changed files with 414 additions and 17 deletions

View File

@ -255,14 +255,7 @@ export function applyDefaultHandlers(pretender) {
pretender.get("/t/12.json", () => response(fixturesByUrl["/t/12/1.json"]));
pretender.put("/t/1234/re-pin", success);
pretender.get("/t/2480.json", () => {
const json = fixturesByUrl["/t/34/1.json"];
json.details.can_archive_topic = true;
json.details.can_close_topic = true;
json.details.can_edit_staff_notes = true;
return response(json);
});
pretender.get("/t/2480.json", () => response(fixturesByUrl["/t/2480/1.json"]));
pretender.get("/t/id_for/:slug", () => {
return response({