-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: arrange unschedule session based on their event-time #3791
Conversation
app/routes/my-sessions/list.js
Outdated
@@ -15,7 +15,7 @@ export default Route.extend(AuthenticatedRouteMixin, { | |||
this.set('params', params); | |||
let filterOptions = []; | |||
if (params.session_status === 'upcoming') { | |||
filterOptions = [ | |||
filterOptions.push( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dont refactor them. Just add the filter parameters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this wrong?
No its not wrong but keep one issue at a time, changing the array insertion
to push may also get shown in file blame which is not related to the PR.
…On Sat, 11 Jan, 2020, 18:40 Sundaram Dubey, ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In app/routes/my-sessions/list.js
<#3791 (comment)>
:
> @@ -15,7 +15,7 @@ export default Route.extend(AuthenticatedRouteMixin, {
this.set('params', params);
let filterOptions = [];
if (params.session_status === 'upcoming') {
- filterOptions = [
+ filterOptions.push(
Is this wrong?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3791?email_source=notifications&email_token=AKQMTLWV5H2JTZRTRMMSQG3Q5HAMHA5CNFSM4KFQMLFKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCRNTM2Q#discussion_r365520656>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKQMTLUNPZGJMAIYQVWFDV3Q5HAMHANCNFSM4KFQMLFA>
.
|
An after/before gif ? |
|
Looks good to me, squash the commits. |
arrange unschedule session based on their corresponding event
Done! please merge . |
Fixes #3702
Checklist
development
branch.