Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Fix dotcms-models path
Browse files Browse the repository at this point in the history
  • Loading branch information
fmontes committed Apr 12, 2021
1 parent 48dd35f commit b9ba34f
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
DotCMSContentTypeLayoutRow,
DotCMSContentTypeLayoutColumn,
DotCMSContentTypeFieldVariable
} from "dotcms-models";
} from '@dotcms/dotcms-models';

export const DOT_ATTR_PREFIX = "dot";

Expand All @@ -31,12 +31,12 @@ export function setAttributesToTag(
const pipedValuesToObject = (values: string): { [key: string]: string } => {
return isStringType(values)
? values.split(",").reduce((acc, item) => {
const [key, value] = item.split("|");
return {
...acc,
[key]: value
};
}, {})
const [key, value] = item.split("|");
return {
...acc,
[key]: value
};
}, {})
: null;
};

Expand Down

0 comments on commit b9ba34f

Please sign in to comment.