Skip to content

Commit

Permalink
feat(itim): Add cluster to history save
Browse files Browse the repository at this point in the history
ref: #244 #71
  • Loading branch information
jon-nfc committed Aug 19, 2024
1 parent 75d843d commit 4b0feee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/core/views/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ def get_object(self):

match self.kwargs['model_name']:

case 'cluster':

from itim.models.clusters import Cluster

self.model = Cluster

case 'configgroups':

self.model = ConfigGroups
Expand Down

0 comments on commit 4b0feee

Please sign in to comment.