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

Fix #5337 - suppress rewrite config in db without changes #5367

Merged
merged 3 commits into from Mar 2, 2020

Commits on Feb 29, 2020

  1. Suppress rewrite config in db without changes

    Now Strapi rewrite all 'plugin_content_manager_configuration_content_types' keys in "core_store" database table on each restart.
    I add comparison of stored config with generated, and skip unnecessary write config to database, when there are no changes.
    
    Signed-off-by: Alexey Murz Korepov <murznn@gmail.com>
    MurzNN authored and Алексей Корепов committed Feb 29, 2020
    Configuration menu
    Copy the full SHA
    5f9cbe5 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2020

  1. replace JSON.stringify to lodash isEqual

    Signed-off-by: Alexey Murz Korepov <murznn@gmail.com>
    MurzNN committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    540a72a View commit details
    Browse the repository at this point in the history
  2. Replaced false to !

    Signed-off-by: Alexey Murz Korepov <murznn@gmail.com>
    MurzNN committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    cb71cc5 View commit details
    Browse the repository at this point in the history