Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

Update Purchasing Overview video URL and duration (#515)

Chase Fostera499ba1a81a3
diff --git a/apps/academy/app/config.tsx b/apps/academy/app/config.tsx
index 7da81e635e..ce396ca5f9 100644
--- a/apps/academy/app/config.tsx
+++ b/apps/academy/app/config.tsx
@@ -1098,11 +1098,11 @@ export const modules: Config = [
{
id: "purchasing-overview",
loomUrl:
- "https://www.loom.com/share/51e0c6dd053b4a3e904fc795d4fc298f?sid=0bb2081d-6bc4-4efb-8361-d2717dda9781",
+ "https://www.loom.com/embed/6b452f942ac546aebc0b9ca96300c522",
name: "Purchasing Overview",
description:
"Learn about the complete purchasing process from supplier selection to payment.",
- duration: 0
+ duration: 240
},
{
id: "supplier-quotes",
diff --git a/apps/academy/app/routes/lesson+/$id.tsx b/apps/academy/app/routes/lesson+/$id.tsx
index 29d7362c16..21d2ae7c2c 100644
--- a/apps/academy/app/routes/lesson+/$id.tsx
+++ b/apps/academy/app/routes/lesson+/$id.tsx
@@ -209,8 +209,8 @@ export default function LessonRoute() {
id="loom-embed"
title={lesson.name}
src={`https://www.loom.com/embed/${
- lesson.loomUrl.split("share/")[1]
- }&hideEmbedTopBar=true`}
+ lesson.loomUrl.split(/(?:share|embed)\//)[1]?.split("?")[0]
+ }?hideEmbedTopBar=true`}
allowFullScreen
style={{
position: "absolute",