Skip to content

Commit de395f2

Browse files
committed
fix
1 parent c7b5c14 commit de395f2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/VDiskPopup/VDiskPopup.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,7 @@ const prepareVDiskData = (
209209
})
210210
: undefined;
211211

212-
const vDiskPagePath = getVDiskLinkFn
213-
? getVDiskLinkFn({nodeId: NodeId, vDiskId: StringifiedId})
214-
: undefined;
212+
const vDiskPagePath = getVDiskLinkFn?.({nodeId: NodeId, vDiskId: StringifiedId});
215213
if (vDiskPagePath) {
216214
vdiskData.push({
217215
label: vDiskPopupKeyset('label_links'),

0 commit comments

Comments
 (0)