Skip to content

Commit 402dfee

Browse files
committed
version bump
1 parent 36ad1a9 commit 402dfee

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
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": "0.3.3-beta-2",
3+
"version": "0.3.3-beta-4",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Common/Constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { getContainerRegistryIcon } from './Helper'
1817
import { RegistryTypeDetailType } from './Types'
18+
import { getContainerRegistryIcon } from './utils'
1919

2020
export const FALLBACK_REQUEST_TIMEOUT = 60000
2121
export const Host = window?.__ORCHESTRATOR_ROOT__ ?? '/orchestrator'

src/Common/Helper.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,3 @@ export function asyncWrap(promise): any[] {
10471047
}
10481048

10491049
export const prefixZeroIfSingleDigit = (value: number = 0) => (value > 0 && value < 10 ? `0${value}` : value)
1050-
1051-
export const getContainerRegistryIcon = (registryValue: string): JSX.Element => (
1052-
<div className={`dc__registry-icon dc__git-logo ${registryValue}`} />
1053-
)

src/Common/utils.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export const getContainerRegistryIcon = (registryValue: string): JSX.Element => (
2+
<div className={`dc__registry-icon dc__git-logo ${registryValue}`} />
3+
)

0 commit comments

Comments
 (0)