Skip to content
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

Admin UI: fixed an uncaught error during updating if access was denied #2933

Merged
merged 2 commits into from
May 11, 2020

Conversation

Vultraz
Copy link
Contributor

@Vultraz Vultraz commented May 11, 2020

The error in the handleUpdateItem wasn't caught anywhere. Better to just return from the onSave function normally.

image

Also removes the updateErrorMessage prop which was unused includes some minor cleanup of itemSaveCheckCache (no need for it to be toplevel a component member).

@changeset-bot
Copy link

changeset-bot bot commented May 11, 2020

🦋 Changeset is good to go

Latest commit: 75d0a6e

We got this.

This PR includes changesets to release 1 package
Name Type
@keystonejs/app-admin-ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@timleslie timleslie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@timleslie timleslie merged commit 15c5731 into keystonejs:master May 11, 2020
@Vultraz Vultraz deleted the admin-ui-minor-item-page-fixes branch May 11, 2020 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants