From 376255c9781c27b8a5244e4ce6342056f7ba002c Mon Sep 17 00:00:00 2001 From: Benjamin Monnot Date: Fri, 20 Sep 2024 10:23:20 +0200 Subject: [PATCH] PB-35413 Bump styleguide version to 4.9.7-alpha.7 --- package-lock.json | 4 ++-- package.json | 2 +- .../DisplayResourceFolderDetailsInformation.js | 4 ++-- src/shared/models/entity/folder/folderEntity.test.data.js | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6dfea0502..1c7b7ac85 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "passbolt-styleguide", - "version": "4.9.7-alpha.6", + "version": "4.9.7-alpha.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "passbolt-styleguide", - "version": "4.9.7-alpha.6", + "version": "4.9.7-alpha.7", "license": "AGPL-3.0", "dependencies": { "debounce-promise": "^3.1.2", diff --git a/package.json b/package.json index cc83bf73f..cfbe840c5 100644 --- a/package.json +++ b/package.json @@ -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.", diff --git a/src/react-extension/components/ResourceFolderDetails/DisplayResourceFolderDetails/DisplayResourceFolderDetailsInformation.js b/src/react-extension/components/ResourceFolderDetails/DisplayResourceFolderDetails/DisplayResourceFolderDetailsInformation.js index 3b568b87c..6bbe1c27f 100644 --- a/src/react-extension/components/ResourceFolderDetails/DisplayResourceFolderDetails/DisplayResourceFolderDetailsInformation.js +++ b/src/react-extension/components/ResourceFolderDetails/DisplayResourceFolderDetails/DisplayResourceFolderDetailsInformation.js @@ -59,7 +59,7 @@ 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); @@ -67,7 +67,7 @@ class DisplayResourceFolderDetailsInformation extends React.Component { /** * 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 diff --git a/src/shared/models/entity/folder/folderEntity.test.data.js b/src/shared/models/entity/folder/folderEntity.test.data.js index 206b5105d..f522ee74d 100644 --- a/src/shared/models/entity/folder/folderEntity.test.data.js +++ b/src/shared/models/entity/folder/folderEntity.test.data.js @@ -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 = {}) => {