# HG changeset patch # User Thomas Junk # Date 1549630430 -3600 # Node ID 82dad8d808a78ad31f91dbc0c4ddacd9fceccbc7 # Parent 0e2f4b059897c922bb0d4657defbaf227b13bd00 agm_diff: usability bug fixed diff -r 0e2f4b059897 -r 82dad8d808a7 client/src/components/staging/StagingDetail.vue --- a/client/src/components/staging/StagingDetail.vue Fri Feb 08 13:21:36 2019 +0100 +++ b/client/src/components/staging/StagingDetail.vue Fri Feb 08 13:53:50 2019 +0100 @@ -197,10 +197,7 @@ {{ formatSurveyDate(result["measure-date"]) }} -
+
Value
-
+
Old
@@ -342,7 +342,7 @@ }, methods: { toggleDiff(number) { - if (this.showDiff == -1) { + if (this.showDiff !== number || this.showDiff == -1) { this.showDiff = number; } else { this.showDiff = -1;