mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 15:16:50 +00:00
Don't sync non-existent value
eventlogging reducer was removed in I640ab367cd235ab8da7dd70dbef7ae9076712e84 so this is syncing a non-existent value. Change-Id: I58386bf9a0219f6344c08f757af3aaafbae92751
This commit is contained in:
parent
24925ec459
commit
d12c4fe1d8
BIN
resources/dist/index.js
vendored
BIN
resources/dist/index.js
vendored
Binary file not shown.
BIN
resources/dist/index.js.map.json
vendored
BIN
resources/dist/index.js.map.json
vendored
Binary file not shown.
|
@ -22,10 +22,6 @@ import { previewTypes } from '../preview/model';
|
|||
*/
|
||||
export default function syncUserSettings( userSettings ) {
|
||||
return ( oldState, newState ) => {
|
||||
syncIfChanged(
|
||||
oldState, newState, 'eventLogging.previewCount',
|
||||
userSettings.storePreviewCount
|
||||
);
|
||||
syncIfChanged(
|
||||
oldState, newState, 'preview.enabled.' + previewTypes.TYPE_PAGE,
|
||||
userSettings.storePagePreviewsEnabled
|
||||
|
|
Loading…
Reference in a new issue