diff --git a/HardwareShop/HardwareShopClientApp/Views/Storekeeper/ListBuilds.cshtml b/HardwareShop/HardwareShopClientApp/Views/Storekeeper/ListBuilds.cshtml index c1882be..cfc8c7b 100644 --- a/HardwareShop/HardwareShopClientApp/Views/Storekeeper/ListBuilds.cshtml +++ b/HardwareShop/HardwareShopClientApp/Views/Storekeeper/ListBuilds.cshtml @@ -118,8 +118,7 @@ description: `${format} file`, accept: { - "text/docx": [".docx"], - "text/xlsx": [".xlsx"] + [`text/${format}`]: [`.${format}`] }, }], };