We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7889028 commit beb2115Copy full SHA for beb2115
packages/core/src/lib/uikitExcludePattern.js
@@ -4,7 +4,7 @@ const _ = require('lodash');
4
5
const uikitExcludePattern = (pattern, uikit) => {
6
const state = pattern.patternState;
7
- const tags = pattern.tags;
+ const tags = _.isArray(pattern.tags) ? pattern.tags : [pattern.tags];
8
9
return (
10
_.includes(uikit.excludedPatternStates, state) ||
0 commit comments