Skip to content

Commit 6ae68c1

Browse files
committed
#RI-4321 - fix pr comments
1 parent ee3ac58 commit 6ae68c1

File tree

1 file changed

+3
-2
lines changed
  • redisinsight/ui/src/pages/workbench/components/enablement-area/EnablementArea/utils

1 file changed

+3
-2
lines changed

redisinsight/ui/src/pages/workbench/components/enablement-area/EnablementArea/utils/getFileInfo.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ export const getFileInfo = (
3030
if (manifestPath && markdownParent?.children) {
3131
markdownInfo = get(
3232
markdownParent.children,
33-
manifestPath.split('/')?.pop() as string || '-1'
34-
) || {}
33+
manifestPath.split('/')?.pop() as string || '-1',
34+
{}
35+
)
3536
}
3637

3738
return {

0 commit comments

Comments
 (0)