File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -154,10 +154,10 @@ export default Controller.extend({
154
154
} ) ,
155
155
156
156
yankVersionTask : task ( function * ( version ) {
157
- return version . yank . perform ( ) ;
157
+ return yield version . yank . perform ( ) ;
158
158
} ) ,
159
159
160
160
unyankVersionTask : task ( function * ( version ) {
161
- return version . unyank . perform ( ) ;
161
+ return yield version . unyank . perform ( ) ;
162
162
} ) ,
163
163
} ) ;
Original file line number Diff line number Diff line change 168
168
{{ version.num }}
169
169
</LinkTo >
170
170
{{ moment-format version.created_at ' ll' }}
171
- {{ #if isOwner }}
171
+ {{ #if this. isOwner}}
172
172
{{ #if version.yanked }}
173
173
<button type =" button" local-class =" remove-button" {{ on " click" (perform this.unyankVersionTask version )}} >Unyank</button >
174
174
{{ else }}
You can’t perform that action at this time.
0 commit comments