From 267e0cb636ae1065c1101a0882f82dcd19e70f7b Mon Sep 17 00:00:00 2001 From: "Calum H." Date: Mon, 8 Dec 2025 17:55:29 +0000 Subject: [PATCH] fix: license url not being removed when saving (#4874) Closes: #4848 --- apps/frontend/src/pages/[type]/[id].vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/frontend/src/pages/[type]/[id].vue b/apps/frontend/src/pages/[type]/[id].vue index fcc744046..92052bdad 100644 --- a/apps/frontend/src/pages/[type]/[id].vue +++ b/apps/frontend/src/pages/[type]/[id].vue @@ -1746,10 +1746,10 @@ async function patchProject(resData, quiet = false) { await updateProjectRoute() - if (resData.license_id) { + if ('license_id' in resData) { project.value.license.id = resData.license_id } - if (resData.license_url) { + if ('license_url' in resData) { project.value.license.url = resData.license_url }