-
Notifications
You must be signed in to change notification settings - Fork 377
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: manage pending status when updating #2463
feat: manage pending status when updating #2463
Conversation
class="primary small toast__button" | ||
@click="whenClicked" | ||
>{{ buttonText }}</base-button | ||
> |
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.
1/ review formatting
2/ naming : change whenClicked by onClick
const arePendingRecords = records.some( | ||
(record) => record.status === "Edited" | ||
); | ||
await _updateViewSettings({ |
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.
naming => change _myFunction by myFunction
@@ -479,6 +486,22 @@ async function _updatePagination({ id, size, page }) { | |||
return pagination; | |||
} | |||
|
|||
async function _chooseContinueOrCancel(action, dataset, query, sort, size) { |
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.
naming => change _myFunction by myFunction
}); | ||
}, | ||
}); | ||
} |
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.
code cleanning : one thing by line => create the object before the call for notification toast
Description
This PT includes notification to manage pending status when updating
Closes #<issue_number>
Type of change
(Please delete options that are not relevant. Remember to title the PR according to the type of change)
Checklist