Skip to content

Commit 2f8d4e7

Browse files
committed
Merge branch 'main' of https://github.com/devtron-labs/devtron-fe-common-lib into feat/animate-segmented-bar
2 parents fb69947 + 3b0c85f commit 2f8d4e7

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "1.6.1",
3+
"version": "1.6.2",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiffCompare.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ export const DeploymentHistoryConfigDiffCompare = ({
7070
// Set fullscreen for comparing deployment history config
7171
setFullScreenView(true)
7272
// Set default initial sorting
73-
handleSorting(DEPLOYMENT_CONFIG_DIFF_SORT_KEY)
73+
if (sortBy !== DEPLOYMENT_CONFIG_DIFF_SORT_KEY) {
74+
handleSorting(DEPLOYMENT_CONFIG_DIFF_SORT_KEY)
75+
}
7476

7577
return () => {
7678
setConvertVariables(false)

0 commit comments

Comments
 (0)