Skip to content

Commit 6549404

Browse files
authored
Merge pull request #807 from mathematicalthinking/submissionsUpgrade
few more bugs in workspace submissions
2 parents ff69425 + 6b019e4 commit 6549404

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/components/workspace-submission.hbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
</a>
5252
{{/if}}
5353
</div>
54-
{{#if this.canRespond}}
54+
{{#if @canRespond}}
5555
<div class='submission-row-item new-response'>
5656
<button
5757
disabled={{this.areNoSelections}}
@@ -71,7 +71,7 @@
7171
{{/if}}
7272
</div>
7373
{{else}}
74-
{{#if this.isParentWorkspace}}
74+
{{#if @isParentWorkspace}}
7575
{{#if this.submissionResponses.length}}
7676
<div class='submission-row-item new-response'>
7777
<button
@@ -254,12 +254,12 @@
254254
@selection={{selection}}
255255
@canDeleteSelections={{this.canDeleteSelection}}
256256
@deleteSelection={{this.deleteSelection}}
257-
@currentSelection={{this.currentSelection}}
257+
@currentSelection={{@currentSelection}}
258258
/>
259259
{{else}}
260260
<UndraggableSelection
261261
@selection={{selection}}
262-
@currentSelection={{this.currentSelection}}
262+
@currentSelection={{@currentSelection}}
263263
/>
264264
{{/if}}
265265
{{/unless}}

0 commit comments

Comments
 (0)