feat(org); Saving of patterns and patterns views
This commit is contained in:
parent
b0367ab3f8
commit
cbe56c3647
7 changed files with 249 additions and 49 deletions
|
@ -477,3 +477,8 @@ export const patternNsFromPatternConfig = (config) => {
|
|||
|
||||
return [...ns]
|
||||
}
|
||||
|
||||
export const patternUrl = ({ design, settings = {}, view = 'draft', type = 'new', id }) =>
|
||||
`/${type}/${design}/${type === 'edit' ? id + '/' : ''}#settings=${encodeURIComponent(
|
||||
JSON.stringify(settings)
|
||||
)}&view=${encodeURIComponent('"' + view + '"')}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue