Fix missing template updates-available

This commit is contained in:
donoban 2018-05-10 10:04:17 +02:00
parent 78ba3057eb
commit a77cc5172d
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -388,6 +388,9 @@ class VmUpdateInfoWidget(QtGui.QWidget):
outdated_state = "outdated"
break
elif self.vm.klass == 'TemplateVM' and self.vm.features.get('updates-available', False):
outdated_state = 'update'
self.update_status_widget(outdated_state)
def update_status_widget(self, state):