Skip to content

Commit ed8ad6a

Browse files
authored
fix: CLI tutor commands missing some parameters (#2470)
The "Download CAR" command and the "Publish with IPNS" commands were missing some of the values that they needed to be complete. Adding those in.
1 parent 371341a commit ed8ad6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/files/modals/Modals.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,12 @@ class Modals extends React.Component {
230230
return cliCommandList[action](path)
231231
case cliCmdKeys.DOWNLOAD_OBJECT_COMMAND:
232232
return cliCommandList[action](activeCid)
233+
case cliCmdKeys.DOWNLOAD_CAR_COMMAND:
234+
return cliCommandList[action](activeCid)
233235
case cliCmdKeys.RENAME_IPFS_OBJECT:
234236
return cliCommandList[action](path, fileName)
237+
case cliCmdKeys.PUBLISH_WITH_IPNS:
238+
return cliCommandList[action](activeCid, 'self')
235239
case cliCmdKeys.PIN_OBJECT:
236240
return cliCommandList[action](activeCid, isPinned ? 'rm' : 'add')
237241
default:

0 commit comments

Comments
 (0)