Yohan Boniface 2023-07-11 08:33:16 +02:00
parent 76f69d3172
commit 8b4842ff21

View file

@ -35,13 +35,13 @@ L.U.MapPermissions = L.Class.extend({
isOwner: function () {
return (
this.map.options.user &&
this.map.options.permissions.owner &&
this.map.options.user.id == this.map.options.permissions.owner.id
this.map.permissions.options.owner &&
this.map.options.user.id == this.map.permissions.options.owner.id
)
},
isAnonymousMap: function () {
return !this.map.options.permissions.owner
return !this.map.permissions.options.owner
},
getMap: function () {