pkp-lib
pkp-lib copied to clipboard
Primary colour can't be set from the theme menu
Describe the bug In the Appearance -> Theme menu, when trying to set new theme primary colour, changes aren't being saved.
To Reproduce Steps to reproduce the behavior:
- Go to Appearance -> Theme menu
- Set new primary colour
- Click 'Save' button
- Refresh the page
- See that new colour hasn't been applied, old value is displayed instead
What application are you using? OJS main branch
Additional information This causes failure of tests for all the themes
Looks like an issue with vue3-color
. The parameter here isn't a new value but rather InputEvent
.
@jardakotesovec, can you take a look?
@Vitaliy-1 Oki, good news its just 3.5. Will try to get to that soonish (next week), so its not blocking theme tests, ok?
It fails tests on Travis for the main. I haven't created 3.4 branch yet.
@Vitaliy-1 Just merged the fix (https://github.com/pkp/ui-library/pull/336). Feel free to close it once you can verify that the tests are working now.
I've re-run tests for Health Sciences