summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/guix-packages.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/guix-packages.js b/js/guix-packages.js
index 10e59d8..03aa345 100644
--- a/js/guix-packages.js
+++ b/js/guix-packages.js
@@ -306,7 +306,7 @@ guix.view = function(ctrl) {
case guix.PHASE_DERIVATION:
return m(".btn.btn-default.disabled", "Please wait...");
case guix.PHASE_SUCCESS:
- case guix.PHASE_SUCCESS:
+ case guix.PHASE_ERROR:
return m(".btn.btn-primary", {
onclick: function() {
ctrl.phase(guix.PHASE_NONE);