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

CM-213: Change moduleConfiguration reduce #88

Merged
merged 1 commit into from
Jun 28, 2023
Merged

Conversation

dborowiecki
Copy link
Contributor

@dborowiecki dborowiecki commented Jun 28, 2023

Developed as part of work on TICKET: CM-213

Fixed issue:

After creating module configuration thorugh djangoAdmin panel and making it exposable frontend received the configuration however during JSON payload transformation returned value was always [].

Solution

Push empty element as an first element of the array which results in treating it as total in the reducer function.

Additional change adds background theme color for Drawer component to match openIMIS toolbar theme.

@dborowiecki
Copy link
Contributor Author

@edarchis Could you take a look at this PR? I'd like to make sure that fe config is always loaded from the modulesConfiguration GQL query and this change will not affect existing instances configs.

@sniedzielski sniedzielski merged commit e49cf32 into develop Jun 28, 2023
@sniedzielski sniedzielski deleted the feature/CM-213 branch June 28, 2023 06:55
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.

2 participants