This commit is contained in:
@@ -35,3 +35,14 @@ export const InventoryJsonExport = {
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export const InventoryCsvExport = {
|
||||
parameters: {
|
||||
docs: {
|
||||
description: {
|
||||
story:
|
||||
"The admin workspace exposes a seller-scoped inventory CSV download for spreadsheet workflows.",
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -479,6 +479,13 @@ onMounted(load);
|
||||
>
|
||||
Download inventory JSON
|
||||
</a>
|
||||
<a
|
||||
class="button button--secondary"
|
||||
href="/api/v1/admin/exports/inventory.csv"
|
||||
download="inventory.csv"
|
||||
>
|
||||
Download inventory CSV
|
||||
</a>
|
||||
</p>
|
||||
<p v-if="isLoading" class="state state--loading" role="status">
|
||||
Loading inventory...
|
||||
|
||||
Reference in New Issue
Block a user