diff options
Diffstat (limited to 'app/client/system/system.actions.js')
| -rw-r--r-- | app/client/system/system.actions.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/client/system/system.actions.js b/app/client/system/system.actions.js index 4c5f98e..a318d68 100644 --- a/app/client/system/system.actions.js +++ b/app/client/system/system.actions.js @@ -6,6 +6,11 @@ export const run = (cmd) => { return { type: types.system.running_command, cmd } } +export const listDirectory = (opt) => { + socket.system.list_directory(opt) + return { type: types.system.listing_directory, opt } +} + export const changeTool = (tool) => { return { type: types.app.change_tool, tool } }
\ No newline at end of file |
