Skip to content

Commit 2cef431

Browse files
committed
fix creating lifecycle features when editing a plan feature
1 parent 4ea1c35 commit 2cef431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arho_feature_template/project/layers/plan_layers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def model_from_feature(cls, feature: QgsFeature) -> PlanFeature:
162162
RegulationGroupLayer.get_feature_by_id(group_id)
163163
for group_id in RegulationGroupAssociationLayer.get_group_ids_for_feature(feature["id"], cls.name)
164164
]
165-
plan_lifecycle_features = [LifeCycleLayer.get_features_by_plan_id(feature["id"])]
165+
plan_lifecycle_features = LifeCycleLayer.get_features_by_plan_id(feature["id"])
166166

167167
return PlanFeature(
168168
geom=feature.geometry(),

0 commit comments

Comments
 (0)