Skip to content

Commit

Permalink
Merge branch 'feature/PB-35264_Bump-styleguide-version-to-v497-alpha1…
Browse files Browse the repository at this point in the history
…' into 'develop'

PB-35264 Bump styleguide version to v4.9.7-alpha.1

See merge request passbolt/passbolt-styleguide!1762
  • Loading branch information
cedricalfonsi committed Sep 6, 2024
2 parents 6c31aca + 5db1f94 commit a136516
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "passbolt-styleguide",
"version": "4.9.7-alpha.0",
"version": "4.9.7-alpha.1",
"license": "AGPL-3.0",
"copyright": "Copyright 2023 Passbolt SA",
"description": "Passbolt styleguide contains common styling assets used by the different sites, plugin, etc.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import {MemoryRouter, Route} from "react-router-dom";
import ShareDialog from "./ShareDialog";
import AppContext from "../../../shared/context/AppContext/AppContext";
import {autocompleteResult, defaultAppContext, resources} from "./ShareDialog.test.data";
import {defaultAppContext, resources} from "./ShareDialog.test.data";

export default {
title: 'Components/Share/ShareDialog',
Expand All @@ -17,12 +17,12 @@ const context = defaultAppContext({
resourcesIds: resources.map(resource => resource.id)
},
port: {
request: path => {
request: (path, option) => {
switch (path) {
case 'passbolt.share.get-resources':
return resources;
case 'passbolt.share.search-aros':
return autocompleteResult;
return context.users.filter(user => user.username.indexOf(option) !== -1);
}
}
},
Expand Down

0 comments on commit a136516

Please sign in to comment.