diff --git a/package-lock.json b/package-lock.json index 71fe869..c5cd0c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "arbeidspuls", - "version": "1.2.1", + "version": "1.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "arbeidspuls", - "version": "1.2.1", + "version": "1.3.0", "dependencies": { "lucide-react": "^0.475.0", "react": "^19.0.0", diff --git a/package.json b/package.json index a67f171..d039014 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "arbeidspuls", - "version": "1.2.1", + "version": "1.3.0", "private": true, "type": "module", "scripts": { diff --git a/src/App.tsx b/src/App.tsx index bb93ac6..b24b71e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -129,7 +129,8 @@ type LineVisibility = "normal" | "dim" | "hidden"; type TrendMetric = { key: keyof Report | "total_score_percent"; label: string; short: string; color: string }; const PERIOD_KEY = "arbeidsevne-egenvurdering:trend-period"; -const APP_VERSION = "1.2.1"; +const APP_VERSION = "1.3.0"; +const COMMERCIAL_LICENSE_URL = "https://git.rolfsvaag.no/Rolfsvaag_Datateknikk/Arbeidspuls/src/branch/main/about-commercial-license.md"; const taskTypeOptions = Object.keys(taskTypeLabels) as TaskType[]; const limitationOptions = Object.keys(limitationLabels) as Limitation[]; @@ -492,7 +493,14 @@ function FeedbackModal({ open, onClose }: { open: boolean; onClose: () => void } ))} - {hasLegal &&

{t("feedback.legalNotice")}

} + {hasLegal && ( +

+ {t("feedback.legalNotice")}{" "} + + {t("feedback.commercialLicenseLink")} + +

+ )}