Skip to content

Commit beb2115

Browse files
Update packages/core/src/lib/uikitExcludePattern.js
Co-authored-by: Josef Bredreck <slime.games@outlook.de>
1 parent 7889028 commit beb2115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/lib/uikitExcludePattern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const _ = require('lodash');
44

55
const uikitExcludePattern = (pattern, uikit) => {
66
const state = pattern.patternState;
7-
const tags = pattern.tags;
7+
const tags = _.isArray(pattern.tags) ? pattern.tags : [pattern.tags];
88

99
return (
1010
_.includes(uikit.excludedPatternStates, state) ||

0 commit comments

Comments
 (0)