RCFilters UI: Only mute 'fullyCovered' items in the capsule
authorMoriel Schottlender <moriel@gmail.com>
Mon, 27 Feb 2017 22:49:16 +0000 (14:49 -0800)
committerMoriel Schottlender <moriel@gmail.com>
Mon, 27 Feb 2017 22:49:16 +0000 (14:49 -0800)
Remove the mute state for full-coverage items in the filter list,
leave it only for the capsule items.

Bug: T156429
Change-Id: Ida2628112f9e7dad9208737fec958e382fb1158c

resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterItemWidget.js

index 63db2b0..771dd02 100644 (file)
                        'mw-rcfilters-ui-filterItemWidget-muted',
                        this.model.isConflicted() ||
                        this.model.isIncluded() ||
-                       this.model.isFullyCovered() ||
                        (
                                // Item is also muted when any of the items in its group is active
                                this.model.getGroupModel().isActive() &&