mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 01:21:23 +08:00
FIX: Clear unsaved groups when switching user (#7236)
This commit is contained in:
@ -528,6 +528,14 @@ export default function() {
|
||||
});
|
||||
});
|
||||
|
||||
this.get("/admin/users/1.json", () => {
|
||||
return response(200, {
|
||||
id: 1,
|
||||
username: "eviltrout",
|
||||
admin: true
|
||||
});
|
||||
});
|
||||
|
||||
this.get("/admin/users/2.json", () => {
|
||||
return response(200, {
|
||||
id: 2,
|
||||
|
Reference in New Issue
Block a user