Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jul 10, 2024
1 parent a6ac763 commit 9c1f8b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/c2cgeoportal_admin/views/layers_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def view(self) -> ObjectResponse:
dbsession = self._request.dbsession
default_cog = LayerCOG.get_default(dbsession)
if default_cog:
return self.copy(default_cog, excludes=["name", "layer"])
return self.copy(default_cog, excludes=["name", "url"])
return super().edit()

@view_config(route_name="c2cgeoform_item", request_method="POST", renderer="../templates/edit.jinja2") # type: ignore[misc]
Expand Down

0 comments on commit 9c1f8b6

Please sign in to comment.