-
Notifications
You must be signed in to change notification settings - Fork 55
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: 1878 copy cell lines #1923
Conversation
app/usecases/cell_lines/copy.rb
Outdated
end | ||
|
||
def execute! | ||
@current_user.increment_counter('celllines') # rubocop: disable Rails/SkipsModelValidations |
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.
Layout/ExtraSpacing: Unnecessary spacing detected.
b82e666
to
9bee601
Compare
.then((result) => { | ||
dispatch(result); | ||
}).catch((errorMessage) => { | ||
console.log(errorMessage); |
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.
I think we should add a response to the user that something went wrong
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 an error that can occur normally or should it not actually fail? In the latter case, I think that logging is enough. Especially since all other operations in the ElementAction
only log to the console in the case of an error. What do you think?
Will be merged together with #1971. |
This PR solves #1878