Skip to content
Snippets Groups Projects
Unverified Commit 88b3b536 authored by Alexander Lesnenko's avatar Alexander Lesnenko Committed by GitHub
Browse files

Fix incorrect props are passed to CollectionPermissionModal when used for snippets folders (#17284)

parent b7fa2f34
No related merge requests found
......@@ -51,7 +51,7 @@ PLUGIN_SNIPPET_SIDEBAR_MODALS.push(
>
<CollectionPermissionsModal
params={{
collectionId: snippetSidebar.state.permissionsModalCollectionId,
slug: snippetSidebar.state.permissionsModalCollectionId,
}}
onClose={() =>
snippetSidebar.setState({ permissionsModalCollectionId: null })
......
......@@ -179,7 +179,7 @@ describeWithToken("scenarios > question > snippets", () => {
cy.findByText("Snippet Folder").should("not.exist");
});
it.skip("shouldn't update root permissions when changing permissions on a created folder (metabase#17268)", () => {
it("shouldn't update root permissions when changing permissions on a created folder (metabase#17268)", () => {
cy.intercept("PUT", "/api/collection/graph").as("updatePermissions");
openNativeEditor();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment