-
Notifications
You must be signed in to change notification settings - Fork 49
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
Dev 2.0.0 cleanup #624
Dev 2.0.0 cleanup #624
Conversation
interfaces, remove copy functions, and rename key -> uri_path for Condition, Task and View
only these tests are still failing. Do you want to include these in this PR?
|
For the copying of sites and editors fields, we would like to have them either empty or filled with current site for example. // management/assets/js/reducers/elementsReducer.js
if (state.elementAction == 'copy') {
action.elements.element.id = null
action.elements.element.read_only = false
action.elements.element.sites = [] // or current site
action.elements.element.editors = [] // or current site
} |
I created a new PR to this PR for this: #640 |
It actually needs to be done in the action not the reducer, since the reducer has no access to the |
…t-add-filter-editors add a filter for editors in management
…when-copy Add current site when copying elements
…config Dev 2.0.0 cleanup+refactor config
Dev 2.0.0 cleanup
key
touri_path
for Condition, Task and View