mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
fix(notifications): don't error on same page
This commit is contained in:
@@ -14,7 +14,7 @@ async function updateUser (user) {
|
||||
};
|
||||
const data = {
|
||||
title: 'Happy New Year!',
|
||||
destination: 'inventory/equipment',
|
||||
destination: '/inventory/equipment',
|
||||
};
|
||||
|
||||
if (typeof user.items.gear.owned.head_special_nye2023 !== 'undefined') {
|
||||
|
||||
Reference in New Issue
Block a user