fix(dashboard): Properly delete metadata keys, and fix number parsing (#11466)

**What**
- Fixes an issue where we would parse a string like `"52 tests"` into `52` in the Metadata form
- If a row is deleted we now send off key with an empty string as its value to signify that it should be deleted. This is needed to introduce the API we had for updating metadata in V1. Adrien is implementing the BE support for this.

RESOLVES SUP-895
This commit is contained in:
Kasper Fabricius Kristensen
2025-02-18 11:28:24 +01:00
committed by GitHub
parent 06cc658246
commit 3b69f5a105
2 changed files with 23 additions and 7 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/dashboard": patch
---
fix(dashboard): Properly delete metadata keys, and fix number parsing