Skip to content

Commit 91b4053

Browse files
committed
Allow RequestState.abort to be used with on modifier
1 parent bcc638f commit 91b4053

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/ember/src/-private/request-state.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ export class RequestLoadingState {
214214
this._future = future;
215215
}
216216

217-
abort(): void {
217+
abort = (): void => {
218218
this._future.abort();
219219
}
220220
}

0 commit comments

Comments
 (0)