mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-11 00:18:46 +01:00
rm renameitem
This commit is contained in:
parent
0f1fb72e21
commit
211f941b9f
@ -31,7 +31,6 @@ import {
|
||||
requestCancelled,
|
||||
responseReceived,
|
||||
newItem as _newItem,
|
||||
renameItem as _renameItem,
|
||||
cloneItem as _cloneItem,
|
||||
deleteItem as _deleteItem,
|
||||
saveRequest as _saveRequest,
|
||||
@ -290,7 +289,6 @@ export const renameItem = (newName, itemUid, collectionUid) => (dispatch, getSta
|
||||
const { ipcRenderer } = window;
|
||||
|
||||
ipcRenderer.invoke('renderer:rename-item', item.pathname, newPathname, newName).then(() => {
|
||||
dispatch(_renameItem({ newName, itemUid, collectionUid }))
|
||||
resolve()
|
||||
}).catch(reject);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user