-
Notifications
You must be signed in to change notification settings - Fork 32
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
Implemented: functionality to save 'auto cancel days' (#2cxr1cx) #213
Conversation
make a service (updateProductStore) and add a save button to the UI to save changes when user updates auto cancel days settings.
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.
Ui looks good
@@ -82,7 +82,10 @@ | |||
</ion-card-header> | |||
<ion-item> | |||
<ion-label class="ion-text-wrap">{{ $t("Days") }}</ion-label> | |||
<ion-input :placeholder="$t('before auto cancelation')" /> | |||
<ion-input :placeholder="$t('before auto cancelation')" v-model.number="autoCancelDays" type="number" /> |
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.
I think we should also repopulate the already set value
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.
updated sir
…r handling (#2cxr1cx) used perform find to get the auto cancel days and added toast when auto cancel days are updated
@@ -424,6 +446,25 @@ export default defineComponent({ | |||
} | |||
}); | |||
this.store.dispatch('webhook/fetchWebhooks') | |||
|
|||
const payload = { |
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.
Implement a separate method to perform this
Related Issues
Closes #
Short Description and Why It's Useful
Make a service (updateProductStore) and add a save button to the UI to save changes when the user updates auto cancel days settings.
Screenshots of Visual Changes before/after (If There Are Any)
autoCancelDays.mp4
IMPORTANT NOTICE - Remember to add changelog entry
Contribution and Currently Important Rules Acceptance