We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70c43ec commit c67383cCopy full SHA for c67383c
plugins/masterdata_cockpit/app/views/masterdata_cockpit/project_masterdata/_project_details.html.haml
@@ -3,14 +3,11 @@
3
.col-sm-4.details-label
4
Name
5
.col-sm-8.details-value
6
- = @project.name
+ = @project&.name
7
.row
8
9
Description
10
11
=# use active project here because at the moment masterdata api supports max. 255 chars
12
%span.description
13
- - if @project.description
14
- = @project.description
15
- - else
16
- \-
+ = @project&.description || '-'
0 commit comments