fix(notifications): don't error on same page

This commit is contained in:
Kalista Payne
2024-12-19 15:32:23 -06:00
parent e675ea9bd1
commit 4ba73dfbec
2 changed files with 3 additions and 2 deletions

View File

@@ -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') {