mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
Squashed commit of the following:
commit 44b1c8c7ba8b45cb682973fb89b70445d0f5c478 Merge:489c15b7fd4dadb64af0Author: Sabe Jones <sabe@habitica.com> Date: Thu Feb 8 14:49:05 2024 -0600 Merge branch 'release' into phillip/panel_profile commit489c15b7fdAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Dec 14 13:29:32 2022 +0100 allow profiles to be edited in admin panel commit1afaaf4089Author: Phillip Thelen <phillip@habitica.com> Date: Wed Dec 14 12:50:47 2022 +0100 include month for next hourglass date in admin panel
This commit is contained in:
@@ -403,6 +403,7 @@ api.updateHero = {
|
||||
if (updateData.flags && _.isBoolean(updateData.flags.chatShadowMuted)) {
|
||||
hero.flags.chatShadowMuted = updateData.flags.chatShadowMuted;
|
||||
}
|
||||
if (updateData.profile) _.assign(hero.profile, updateData.profile);
|
||||
|
||||
if (updateData.secret) {
|
||||
if (typeof updateData.secret.text !== 'undefined') {
|
||||
|
||||
Reference in New Issue
Block a user