Use datalayer.isDataReadOnly in feature.isReadOnly

This commit is contained in:
Yohan Boniface 2023-09-20 09:54:06 +02:00
parent a9b9a7e955
commit f05bdb2ac3

View file

@ -40,7 +40,7 @@ L.U.FeatureMixin = {
preInit: function () {},
isReadOnly: function () {
return this.datalayer && (this.datalayer.isRemoteLayer() || this.datalayer.isReadOnly())
return this.datalayer && this.datalayer.isDataReadOnly()
},
getSlug: function () {