-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] feat(default-theme): Add newsletter subscription #1928
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, just one thing to improve with form data model :)
</p> | ||
</slot> | ||
<SwInput | ||
v-model="user.email" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we shouldn't modify the user's email here, for form purposes we can add prefilled ref, for example
const userEmail = ref(user.value?.email);
import { getApplicationContext } from "@shopware-pwa/composables" | ||
import { useUser, useNotifications } from "@shopware-pwa/composables" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { getApplicationContext } from "@shopware-pwa/composables" | |
import { useUser, useNotifications } from "@shopware-pwa/composables" | |
import { getApplicationContext, useUser, useNotifications } from "@shopware-pwa/composables" |
@mdanilowicz do we have an issue which blocks us here to link between repositories? available maybe here: https://issues.shopware.com |
Work on this PR will be continued after backend fixes
Changes
closes #1756
Checklist