Skip to content
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

Improved: seperated partyname from util module by creating party module(#121) #401

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

shanmukhdutt
Copy link
Contributor

@shanmukhdutt shanmukhdutt commented Jan 31, 2024

Related Issues

Closes #121

Short Description and Why It's Useful

Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to add changelog entry

Contribution and Currently Important Rules Acceptance

@@ -5,5 +5,5 @@ export default interface RootState {
user: any;
product: any;
util: UtilState;
order: OrderState;
order: OrderState
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove any unwanted change in the state


const actions: ActionTree<partyState, RootState> = {
async fetchPartyInformation({ commit, state }, partyIds) {
let partyInformation = JSON.parse(JSON.stringify(state.partyNames))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Improve indentation in all the places.

import { api } from '@/adapter';

const fetchPartyInformation = async (query: any): Promise <any> => {
return api({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Improve indentation.

@shanmukhdutt shanmukhdutt changed the title Implemented: PartyName from util module to party module(#121) Improved: PartyName from util module to party module(#121) Feb 14, 2024
@shanmukhdutt shanmukhdutt changed the title Improved: PartyName from util module to party module(#121) Improved: seperated partyname from util module by creating party module(#121) Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move partyName from util module to party module
2 participants