Skip to content

Commit

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

PB-35413 Bump styleguide version to 4.9.7-alpha.7

See merge request passbolt/passbolt-styleguide!1785
  • Loading branch information
Benj1er committed Sep 20, 2024
2 parents 870c0b2 + 376255c commit 2650eaf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 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.6",
"version": "4.9.7-alpha.7",
"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 @@ -59,15 +59,15 @@ class DisplayResourceFolderDetailsInformation extends React.Component {

/**
* Whenever the component has updated in terms of props
* @param prevProps
* @param {object} prevProps The previous componentDidUpdate props
*/
componentDidUpdate(prevProps) {
this.handleFolderChange(prevProps.resourceWorkspaceContext.details.folder);
}

/**
* Check if the folder has changed and fetch
* @param previousFolder
* @param {object} previousFolder The previously selected folder
*/
handleFolderChange(previousFolder) {
const hasModifierOrCreatorChanged = this.folder.created_by !== previousFolder.created_by
Expand Down
4 changes: 2 additions & 2 deletions src/shared/models/entity/folder/folderEntity.test.data.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export const minimalFolderDto = (data = {}) => ({
* @param {object} data The data to override the default dto.
* @param {Object} [options]
* @param {boolean|integer} [options.withPermissions=0] Add permission default dtos.
* @param {boolean|integer} [options.withCreator=0] Add creator default dtos.
* @param {boolean|integer} [options.withModifier=0] Add modifier default dtos.
* @param {boolean|integer} [options.withCreator=0] Add creator default dto.
* @param {boolean|integer} [options.withModifier=0] Add modifier default dto.
* @returns {object}
*/
export const defaultFolderDto = (data = {}, options = {}) => {
Expand Down

0 comments on commit 2650eaf

Please sign in to comment.