[arvados-workbench2] updated: 2.7.0-251-g4529d390
git repository hosting
git at public.arvados.org
Fri Dec 8 15:24:08 UTC 2023
Summary of changes:
cypress/integration/project.spec.js | 6 +++---
src/views-components/context-menu/context-menu.tsx | 3 +--
2 files changed, 4 insertions(+), 5 deletions(-)
via 4529d3902679b7cb4753cb0c478856e4acb77147 (commit)
from af8493e9bf8813aacea9dffdd48705bd61970db5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 4529d3902679b7cb4753cb0c478856e4acb77147
Author: Lisa Knox <lisaknox83 at gmail.com>
Date: Fri Dec 8 10:24:04 2023 -0500
21128: reset context menu resource type, fixed spelling error in spec Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>
diff --git a/cypress/integration/project.spec.js b/cypress/integration/project.spec.js
index e6113821..e4d7be87 100644
--- a/cypress/integration/project.spec.js
+++ b/cypress/integration/project.spec.js
@@ -473,7 +473,7 @@ describe("Project tests", function () {
});
});
- it("should be able to froze own project", () => {
+ it("should be able to freeze own project", () => {
cy.getAll("@mainProject").then(([mainProject]) => {
cy.loginAs(activeUser);
@@ -503,7 +503,7 @@ describe("Project tests", function () {
});
});
- it("should be able to froze not owned project", () => {
+ it("should be able to freeze not owned project", () => {
cy.getAll("@adminProject").then(([adminProject]) => {
cy.loginAs(activeUser);
@@ -515,7 +515,7 @@ describe("Project tests", function () {
});
});
- it("should be able to unfroze project if user is an admin", () => {
+ it("should be able to unfreeze project if user is an admin", () => {
cy.getAll("@adminProject").then(([adminProject]) => {
cy.loginAs(adminUser);
diff --git a/src/views-components/context-menu/context-menu.tsx b/src/views-components/context-menu/context-menu.tsx
index 877d927a..aeb69de7 100644
--- a/src/views-components/context-menu/context-menu.tsx
+++ b/src/views-components/context-menu/context-menu.tsx
@@ -16,7 +16,6 @@ type DataProps = Pick<ContextMenuProps, "anchorEl" | "items" | "open"> & { resou
const mapStateToProps = (state: RootState): DataProps => {
const { open, position, resource } = state.contextMenu;
- const fullResource = resource ? state.resources[resource?.uuid] as any : resource
const filteredItems = getMenuActionSet(resource).map(group =>
group.filter(item => {
if (resource && item.filters) {
@@ -32,7 +31,7 @@ const mapStateToProps = (state: RootState): DataProps => {
anchorEl: resource ? createAnchorAt(position) : undefined,
items: filteredItems,
open,
- resource: fullResource,
+ resource,
};
};
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list