fix(Maps): send filename instead of full path to delete endpoint
This commit is contained in:
parent
3a2e92ae19
commit
6a68bacaa7
|
|
@ -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