Skip to content

Commit c1da993

Browse files
committed
fix: this.currentApplication _should_ be undefined for new apps
1 parent ef26d4b commit c1da993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/views/applications/ApplicationView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default {
8383
return !!this.$route.meta.isRenewal
8484
},
8585
readonly() {
86-
if (!this.currentApplication?.facilityCanAddApplication) {
86+
if (this.currentApplication && !this.currentApplication.facilityCanAddApplication) {
8787
return true
8888
}
8989
if (this.isSelectFacilityPage) {

0 commit comments

Comments
 (0)