From c3ebfa990d161c3245d278f3ef341b4eb4b1ac27 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Mon, 16 Sep 2024 09:52:23 +0000
Subject: [PATCH] slapos_panel: status field is not editable

---
 .../instance_listbox_status.xml                              | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/master/bt5/slapos_panel/SkinTemplateItem/portal_skins/slapos_panel/InstanceTree_viewOnSlaposPanel/instance_listbox_status.xml b/master/bt5/slapos_panel/SkinTemplateItem/portal_skins/slapos_panel/InstanceTree_viewOnSlaposPanel/instance_listbox_status.xml
index 616367490..4f6ec11df 100644
--- a/master/bt5/slapos_panel/SkinTemplateItem/portal_skins/slapos_panel/InstanceTree_viewOnSlaposPanel/instance_listbox_status.xml
+++ b/master/bt5/slapos_panel/SkinTemplateItem/portal_skins/slapos_panel/InstanceTree_viewOnSlaposPanel/instance_listbox_status.xml
@@ -10,6 +10,7 @@
             <key> <string>delegated_list</string> </key>
             <value>
               <list>
+                <string>editable</string>
                 <string>gadget_url</string>
                 <string>renderjs_extra</string>
                 <string>title</string>
@@ -79,6 +80,10 @@
             <key> <string>values</string> </key>
             <value>
               <dictionary>
+                <item>
+                    <key> <string>editable</string> </key>
+                    <value> <int>0</int> </value>
+                </item>
                 <item>
                     <key> <string>field_id</string> </key>
                     <value> <string>my_gadget_field</string> </value>
-- 
2.30.9