Skip to content

Commit fc30ba0

Browse files
Merge pull request #1615 from ReliefApplications/fix/page-form-edit-name
fix/page-form-edit-name
2 parents 3ac1967 + 88c54fd commit fc30ba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/back-office/src/app/application/pages/form/form.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export class FormComponent extends SafeUnsubscribeComponent implements OnInit {
137137
)
138138
.subscribe(({ data, loading }) => {
139139
this.form = data.form;
140-
this.canEditName = this.step?.canUpdate || false;
140+
this.canEditName = this.page?.canUpdate || false;
141141
this.applicationId = this.page?.application?.id || '';
142142
this.loading = loading;
143143
});

0 commit comments

Comments
 (0)