Skip to content

Commit

Permalink
gem:27379 Status 409 handle correct
Browse files Browse the repository at this point in the history
  • Loading branch information
schefbi committed Feb 29, 2024
1 parent e1d0612 commit 8e2522b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ define([
ember.Instrumentation.subscribe('validationErrorOccurred',{
before(name, timestamp, payload) {
var message = payload.responseJSON.Issues[0].Message;
if (payload.status === 409 && message.search(item.subscriptionDetailId) > 0 ) {
if (payload.status === 409 && message.search(item.subscriptionDetailId) > 0 && message.search('= '+item.newValue) > 0) {
item.set('errorUpload', message);
item.set('uploaded', false);
item.set('loading', false);
Expand Down

0 comments on commit 8e2522b

Please sign in to comment.