Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.
TypeScript
fix(Maps): send filename instead of full path to delete endpoint
Ben Gauger6a68bacaa70c
diff --git a/admin/inertia/pages/settings/maps.tsx b/admin/inertia/pages/settings/maps.tsxindex f95fa56f..d2df0f32 100644--- a/admin/inertia/pages/settings/maps.tsx+++ b/admin/inertia/pages/settings/maps.tsx@@ -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.`,