Skip to content

Commit

Permalink
update version and fix variable (#90)
Browse files Browse the repository at this point in the history
* update version and fix variable

* add null check
  • Loading branch information
m-borgmann authored Nov 13, 2024
1 parent ffe3d92 commit 7166cbf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/Navigation/NavigationSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const handleClick = navigationElement => {
const handleBack = () => {
if (previousNavigationItems.value.length <= 1) {
shownNavigationItems.value = navigationElements.value;
shownNavigationItems.value = mainNavigationElements.value;
previousNavigationItems.value.pop();
return;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@basecom-gmbh/pond",
"type": "module",
"main": "./nuxt.config.ts",
"version": "0.0.16",
"version": "0.0.17",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
Expand Down
2 changes: 1 addition & 1 deletion pages/newsletter/confirm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ onMounted(async () => {
} catch (error) {
// If an error occurs and the user is not logged in, this is most likely because the email is already registered
// TODO: Only keep the actual error handling once we no longer have to always try to confirm guests = once we can check their newsletter status beforehand
if (!signedIn.value && error.details.errors[0].code === 'VIOLATION::NOT_EQUAL_ERROR') {
if (!signedIn.value && error.details?.errors[0].code === 'VIOLATION::NOT_EQUAL_ERROR') {
notificationText.value = t('cms.element.form.newsletter.alreadySubscriber');
notificationType.value = 'info';
} else {
Expand Down

0 comments on commit 7166cbf

Please sign in to comment.