mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-02-12 01:01:50 +01:00
fix: frontend file delete add recursive false (#1892)
There was a recent backend change that update the interface to FileDeleteCommand. This updated was not reflected in directorypreview.tsx on the frontend. This updates the frontend to match.
This commit is contained in:
parent
750e260174
commit
8cd35c4678
@ -639,9 +639,8 @@ function TableBody({
|
||||
click: () => {
|
||||
fireAndForget(async () => {
|
||||
await RpcApi.FileDeleteCommand(TabRpcClient, {
|
||||
info: {
|
||||
path: await model.formatRemoteUri(finfo.path, globalStore.get),
|
||||
},
|
||||
path: await model.formatRemoteUri(finfo.path, globalStore.get),
|
||||
recursive: false,
|
||||
}).catch((e) => console.log(e));
|
||||
setRefreshVersion((current) => current + 1);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user