-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat(statutory,su): improve handling cancelled applications #2012
base: stable
Are you sure you want to change the base?
Conversation
@@ -260,6 +260,9 @@ export default { | |||
canEditSelectedBody () { | |||
return this.can.set_board_comment_and_participant_type.global | |||
|| this.can.set_board_comment_and_participant_type[this.selectedBody] | |||
}, | |||
nonCancelledApplications () { | |||
return this.applications.filter(app => !app.cancelled) |
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.
Not sure yet why, but it seems that cancelled applications are not sent to the BoardView. Even if you click the button in the view table.
At first sight it looks fine in the listBoardView function so it's being set somewhere else in statutory. https://github.com/AEGEE/statutory/blob/43ab951729e9d3580ec40f58775c069062c1322f/lib/applications.js#L193-L195
<span v-if="props.row.status === 'waiting_list'">Waiting list</span> | ||
<span v-if="props.row.status === 'pending'">Pending</span> | ||
<span v-if="props.row.cancelled"> | ||
<span class="tag is-danger" v-if="props.row.cancelled"> |
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.
@LeonVreling reminder that this one is still open |
No description provided.