summaryrefslogtreecommitdiffstats
path: root/dashboard/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/src/api')
-rw-r--r--dashboard/src/api/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/dashboard/src/api/models.py b/dashboard/src/api/models.py
index f1e9130..7448ac4 100644
--- a/dashboard/src/api/models.py
+++ b/dashboard/src/api/models.py
@@ -488,7 +488,8 @@ class NetworkConfig(TaskConfig):
return d
def clear_delta(self):
- pass
+ self.delta = json.dumps(self.to_dict())
+ self.save()
def add_interface(self, interface):
self.interfaces.add(interface)