SWU: Fix update button not working

Closes #2641
This commit is contained in:
Gina Häußge committed 2018-05-15 17:01:12 +02:00
1 parent 39e6c11c39
commit 09456b923f
1 file changed
+1 -1
@@ -535,7 +535,7 @@ $(function() {
};
self.update = function(force) {
if (self.updateInProgress || !self.loginState.hasPermission(self.access.permissions.PLUGIN_SOFTWAREUPDATE_PERFORM)) {
if (self.updateInProgress || !self.loginState.hasPermission(self.access.permissions.PLUGIN_SOFTWAREUPDATE_UPDATE)) {
self._updateClicked = false;
return;
}