fix(Maps): send filename instead of full path to delete endpoint
This commit is contained in:
parent
cb47e1e4e3
commit
03ab614f99
|
|
@ -138,7 +138,7 @@ export default function MapsManager(props: {
|
|||
|
||||
try {
|
||||
setDeletingFileKey(file.key)
|
||||
await api.deleteMapRegionFile(file.key)
|
||||
await api.deleteMapRegionFile(file.name)
|
||||
addNotification({
|
||||
type: 'success',
|
||||
message: `${file.name} has been deleted.`,
|
||||
|
|
|
|||
Loading…
Reference in New Issue