Skip to content

Commit

Permalink
Update tailwindcss.js
Browse files Browse the repository at this point in the history
Fix for manifest combinations when the value is a boolean in string. E.g., "true" or "false."
  • Loading branch information
kancijan authored Sep 24, 2024
1 parent cd49d04 commit 893fb69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/editor/tailwindcss.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export const getTwClasses = (attributes, manifest, ...custom) => {
const conditionKeys = Object.keys(conditions);

for (const key of conditionKeys) {
const value = checkAttr(key, attributes, manifest, true);
const value = checkAttr(key, attributes, manifest, true).toString();

const isArrayCondition = Array.isArray(conditions[key]);

Expand Down

0 comments on commit 893fb69

Please sign in to comment.