File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11/*globals CustomEvent, config*/
2- import { getValueFromObject , dotNotationToObject } from "@cocreate/utils" ;
2+ import { getAttributes , getValueFromObject , dotNotationToObject } from "@cocreate/utils" ;
33import socket from "@cocreate/socket-client" ;
44import CoCreateAction from '@cocreate/actions' ;
55import CoCreateRender from '@cocreate/render' ;
66import '@cocreate/element-prototype' ;
7+ import utils from "@cocreate/utils/src/utils" ;
78
89const CoCreateApi = {
910 components : { } ,
@@ -115,7 +116,7 @@ const CoCreateApi = {
115116
116117 for ( let el of elements ) {
117118 let name = el . getAttribute ( attribute )
118- const { isRead, isUpdate, isCrdt } = crud . getAttributes ( el ) ;
119+ const { isRead, isUpdate, isCrdt } = getAttributes ( el ) ;
119120 if ( ! name || isRead == "false" || isUpdate == "false" || isCrdt == "true" ) continue ;
120121
121122 if ( el . hasAttribute ( 'actions' ) ) continue ;
You can’t perform that action at this time.
0 commit comments