Skip to content

Commit 3c38601

Browse files
authored
Merge pull request #3891 from bcgov/NDT-688-view-more-view-less-button-on-amendments-doesnt-toggle-correctly
fix: add condition for view more text in sow read only
2 parents 4be4734 + c99a379 commit 3c38601

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [1.246.2](https://github.com/bcgov/CONN-CCBC-portal/compare/v1.246.1...v1.246.2) (2025-03-11)
2+
3+
### Bug Fixes
4+
5+
- add condition for view more text in sow read only ([0a9caa9](https://github.com/bcgov/CONN-CCBC-portal/commit/0a9caa98acebd16d0cb4353710835b4dab6699c5))
6+
17
## [1.246.1](https://github.com/bcgov/CONN-CCBC-portal/compare/v1.246.0...v1.246.1) (2025-03-11)
28

39
# [1.246.0](https://github.com/bcgov/CONN-CCBC-portal/compare/v1.245.0...v1.246.0) (2025-03-05)

app/components/Analyst/Project/ProjectInformation/ReadOnlyView.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ const ReadOnlyView: React.FC<Props> = ({
197197
onClick={() => setShowMore(!showMore)}
198198
isShowMore={showMore}
199199
>
200-
View more <FontAwesomeIcon icon={faChevronRight} size="xs" />
200+
{showMore ? 'View Less' : 'View more'}{' '}
201+
<FontAwesomeIcon icon={faChevronRight} size="xs" />
201202
</StyledArrowButton>
202203
)}
203204
</div>

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "CONN-CCBC-portal",
3-
"version": "1.246.1",
3+
"version": "1.246.2",
44
"main": "index.js",
55
"repository": "https://github.com/bcgov/CONN-CCBC-portal.git",
66
"author": "Romer, Meherzad CITZ:EX <[email protected]>",

0 commit comments

Comments
 (0)