diff client/src/components/fairway/Profiles.vue @ 3120:a77d0eafeccc

client: compare surveys: changing label of button to sync maps depending on whether maps are synced or not
author Markus Kottlaender <markus@intevation.de>
date Mon, 29 Apr 2019 11:40:37 +0200
parents a69a8deb56fe
children adca192a4070
line wrap: on
line diff
--- a/client/src/components/fairway/Profiles.vue	Mon Apr 29 11:36:00 2019 +0200
+++ b/client/src/components/fairway/Profiles.vue	Mon Apr 29 11:40:37 2019 +0200
@@ -412,7 +412,9 @@
       return this.$gettext("Rotate Maps");
     },
     syncMapsTooltip() {
-      return this.$gettext("Syncronize Maps");
+      return this.$gettext(
+        this.mapsAreSynced ? "Unsynchronize Maps" : "Synchronize Maps"
+      );
     },
     mapsAreSynced() {
       return this.syncedMaps.includes(this.comparePaneId);