Skip to content

Commit 8154c30

Browse files
committed
fix for one case of view_only links
1 parent df96416 commit 8154c30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/javascripts/discourse/templates/connectors/topic-title/show-project.hbs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<i class="fa fa-angle-right"></i>
88
{{/if}}
99
<span class='parent-project'>
10-
{{#if this.view_only}}
11-
{{#link-to 'projects.show' (object-from-end this.model.parent_guids index) (query-params view_only=this.view_only) }}
10+
{{#if this.model.view_only}}
11+
{{#link-to 'projects.show' (object-from-end this.model.parent_guids index) (query-params view_only=this.model.view_only) }}
1212
{{object-from-end this.model.parent_names index}}
1313
{{/link-to}}
1414
{{else}}

0 commit comments

Comments
 (0)