From a1041ad90d57d3376ffb7e8f4c622acdf8da45f1 Mon Sep 17 00:00:00 2001
From: Frank Sauerburger <frank@sauerburger.com>
Date: Fri, 20 Aug 2021 14:06:56 +0200
Subject: [PATCH] Mark plot as clean after forking

---
 uhepp-js/src/components/UheppHistUI.jsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/uhepp-js/src/components/UheppHistUI.jsx b/uhepp-js/src/components/UheppHistUI.jsx
index 5d805ac..3759cd4 100644
--- a/uhepp-js/src/components/UheppHistUI.jsx
+++ b/uhepp-js/src/components/UheppHistUI.jsx
@@ -335,6 +335,7 @@ const UheppHistUIWithSyst = ({
       if (response.ok) {
         setSaveStatus(null)
         const json = await response.json()
+        setIsClean(true)
         window.location = "/p/" + json.uuid
       } else {
         setSaveStatus('error')
-- 
GitLab