mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 01:56:58 +08:00
FEATURE - group modetators visual indicator (#10310)
This commit is contained in:
@ -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({
|
||||
|
Reference in New Issue
Block a user