[fix][ui] not updating cached installed packages state after ignoring/reverting updates

This commit is contained in:
Vinícius Moreira
2020-05-28 17:09:57 -03:00
parent 9b483b9b6c
commit a2e41ce51f
9 changed files with 32 additions and 2 deletions

View File

@@ -28,3 +28,7 @@ class PackageView:
def __repr__(self):
return '{} ( {} )'.format(self.model.name, self.get_type_label())
def __eq__(self, other):
if isinstance(other, PackageView):
return self.model == other.model