mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
chore: add note re: sort module
This commit is contained in:
@@ -23,6 +23,7 @@ define('sort', ['components', 'api'], function (components, api) {
|
|||||||
const payload = { settings: {} };
|
const payload = { settings: {} };
|
||||||
payload.settings[field] = newSetting;
|
payload.settings[field] = newSetting;
|
||||||
api.put(`/users/${app.user.uid}/settings`, payload).then(() => {
|
api.put(`/users/${app.user.uid}/settings`, payload).then(() => {
|
||||||
|
// Yes, this is normal. If you are logged in, sort is not added to qs since it's saved to user settings
|
||||||
refresh(newSetting, utils.params());
|
refresh(newSetting, utils.params());
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user