Use datalayer.isDataReadOnly in feature.isReadOnly
This commit is contained in:
parent
a9b9a7e955
commit
f05bdb2ac3
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ L.U.FeatureMixin = {
|
||||||
preInit: function () {},
|
preInit: function () {},
|
||||||
|
|
||||||
isReadOnly: function () {
|
isReadOnly: function () {
|
||||||
return this.datalayer && (this.datalayer.isRemoteLayer() || this.datalayer.isReadOnly())
|
return this.datalayer && this.datalayer.isDataReadOnly()
|
||||||
},
|
},
|
||||||
|
|
||||||
getSlug: function () {
|
getSlug: function () {
|
||||||
|
|
Loading…
Reference in a new issue